From 024e9f909bc66e6d2f48d64216aafd7de162f3d0 Mon Sep 17 00:00:00 2001 From: Jean-Luc Makiola Date: Mon, 6 Apr 2026 19:27:16 +0200 Subject: [PATCH] fix: make image read-only for reference items, rename delete to remove - Reference items show catalog image as read-only in edit mode (no upload) - "Delete" button renamed to "Remove from Collection" for reference items Co-Authored-By: Claude Opus 4.6 (1M context) --- src/client/routes/items/$itemId.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/routes/items/$itemId.tsx b/src/client/routes/items/$itemId.tsx index 59de5c8..d50b3d3 100644 --- a/src/client/routes/items/$itemId.tsx +++ b/src/client/routes/items/$itemId.tsx @@ -198,7 +198,7 @@ function ItemDetail() { onClick={handleDelete} className="px-3 py-1.5 text-sm text-red-400 hover:text-red-600 hover:bg-red-50 rounded-lg transition-colors" > - Delete + {isReference ? "Remove from Collection" : "Delete"}