Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 18:28:19 +00:00
co-authored by renee-png
parent 8792cdb823
commit 188a18cc41
+3 -2
View File
@@ -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>
)}