From e0c249c6860c9f345c7d304907ed60533ffc96f7 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Fri, 28 Apr 2023 19:31:36 +0200 Subject: [PATCH] fix inventory css --- client/src/components/Inventory.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/components/Inventory.tsx b/client/src/components/Inventory.tsx index 77768b7..87efaa1 100644 --- a/client/src/components/Inventory.tsx +++ b/client/src/components/Inventory.tsx @@ -84,8 +84,7 @@ function InventoryList({items, docType, openDoc, defaultTab=null, level=undefine function InventoryItem({name, displayName, locked, disabled, newly, showDoc}) { const icon = locked ? : disabled ? : "" - const className = newly ? "new" : "old" - // const className = locked ? "locked" : disabled ? "disabled" : newly ? "new" : "" + const className = locked ? "locked" : disabled ? "disabled" : newly ? "new" : "" const title = locked ? "Not unlocked yet" : disabled ? "Not available in this level" : ""