From 7aa51045f9ffcb82592aaf47572dd57ef62eb52e Mon Sep 17 00:00:00 2001 From: Natalie Rose Date: Thu, 20 Aug 2026 14:04:18 +1000 Subject: [PATCH] Update building info to not show ID's unless the setting is activated --- app/components/building/information.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/components/building/information.tsx b/app/components/building/information.tsx index be002e10..ed56014b 100644 --- a/app/components/building/information.tsx +++ b/app/components/building/information.tsx @@ -3,6 +3,7 @@ import resources from 'app/json/resources.json'; import BodyRPCStore from 'app/stores/rpc/body'; import environment from 'app/environment'; import { BuildingWindowOptions } from 'app/interfaces'; +import MenuStore from 'app/stores/menu'; type Props = { options: BuildingWindowOptions; @@ -15,7 +16,7 @@ class BuildingInformation extends React.Component {
{

- {this.props.options.name} {this.props.options.level} (ID: {this.props.options.id}) + {this.props.options.name} {this.props.options.level}{' '} + {MenuStore.shouldShowIds ? <>(ID: {this.props.options.id}) : ''}

-- 2.51.2