From 93bfe5011c4c59ed1109227443f2f3bacbadec99 Mon Sep 17 00:00:00 2001 From: ponderingdemocritus Date: Tue, 17 Dec 2024 18:14:19 +1100 Subject: [PATCH] build --- .../src/ui/modules/navigation/LeftNavigationModule.tsx | 2 +- client/src/ui/modules/navigation/TopLeftNavigation.tsx | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/src/ui/modules/navigation/LeftNavigationModule.tsx b/client/src/ui/modules/navigation/LeftNavigationModule.tsx index 2d0710713..99ee80bf3 100644 --- a/client/src/ui/modules/navigation/LeftNavigationModule.tsx +++ b/client/src/ui/modules/navigation/LeftNavigationModule.tsx @@ -126,7 +126,7 @@ export const LeftNavigationModule = memo(() => { name: MenuEnum.construction, button: ( { return { timeLeftBeforeNextTick: timeLeft, progress: progressValue }; }, [nextBlockTimestamp]); + console.log(entityInfo.structureCategory); return (
{ className="storehouse-selector px-3 flex gap-2 justify-start items-center text-xxs md:text-sm" > - {IS_MOBILE ? ( -
{storehouses.quantity.toLocaleString()}
+ {entityInfo.structureCategory !== "Realm" ? ( +
) : (
{storehouses.capacityKg.toLocaleString()} kg
)} + {/* {IS_MOBILE ? ( +
{storehouses.quantity.toLocaleString()}
+ ) : ( +
{storehouses.capacityKg.toLocaleString()} kg
+ )} */}
)}