From 188a18cc411d9e27caf8537908d5f80c28bc4e78 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 18:28:19 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/archive.index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/routes/archive.index.tsx b/src/routes/archive.index.tsx index 1476f6e..2747d0a 100644 --- a/src/routes/archive.index.tsx +++ b/src/routes/archive.index.tsx @@ -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" > - + {isLocked ? : } )}