Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
8792cdb823
commit
188a18cc41
@@ -340,10 +340,11 @@ function ArchivePage() {
|
||||
size="sm"
|
||||
variant="ghost"
|
||||
onClick={() => deleteRow(r.id)}
|
||||
title="Delete row"
|
||||
disabled={isLocked}
|
||||
title={isLocked ? "Tab locked" : "Delete row"}
|
||||
className="text-destructive hover:text-destructive h-7 w-7 p-0"
|
||||
>
|
||||
<Trash2 className="h-3.5 w-3.5" />
|
||||
{isLocked ? <Lock className="h-3.5 w-3.5" /> : <Trash2 className="h-3.5 w-3.5" />}
|
||||
</Button>
|
||||
</td>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user