Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Dec 17, 2024
1 parent 1e755ac commit 93bfe50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/ui/modules/navigation/LeftNavigationModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const LeftNavigationModule = memo(() => {
name: MenuEnum.construction,
button: (
<CircleButton
disabled={!structureIsMine || !isRealm}
// disabled={!structureIsMine || !isRealm}
className="construction-selector"
image={BuildingThumbs.construction}
tooltipLocation="top"
Expand Down
10 changes: 8 additions & 2 deletions client/src/ui/modules/navigation/TopLeftNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export const TopLeftNavigation = memo(() => {
return { timeLeftBeforeNextTick: timeLeft, progress: progressValue };
}, [nextBlockTimestamp]);

console.log(entityInfo.structureCategory);
return (
<div className="pointer-events-auto w-screen flex justify-between md:pl-2">
<motion.div
Expand Down Expand Up @@ -253,11 +254,16 @@ export const TopLeftNavigation = memo(() => {
className="storehouse-selector px-3 flex gap-2 justify-start items-center text-xxs md:text-sm"
>
<ResourceIcon withTooltip={false} resource="Silo" size="sm" />
{IS_MOBILE ? (
<div className="self-center">{storehouses.quantity.toLocaleString()}</div>
{entityInfo.structureCategory !== "Realm" ? (
<div className="self-center"></div>
) : (
<div className="self-center">{storehouses.capacityKg.toLocaleString()} kg</div>
)}
{/* {IS_MOBILE ? (
<div className="self-center">{storehouses.quantity.toLocaleString()}</div>
) : (
<div className="self-center">{storehouses.capacityKg.toLocaleString()} kg</div>
)} */}
</div>
)}

Expand Down

0 comments on commit 93bfe50

Please sign in to comment.