From 9054c576a1a77f44aff20c75d790a0c921b915aa Mon Sep 17 00:00:00 2001 From: cracklesparkle Date: Wed, 18 Dec 2024 11:53:30 +0900 Subject: [PATCH] satMapsProvider defaults; selectedYear defaulted to null; TCBParameter tables reorder; --- client/src/components/map/TCBParameter.tsx | 28 +++++++++++----------- client/src/store/map.ts | 2 +- client/src/store/objects.ts | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/client/src/components/map/TCBParameter.tsx b/client/src/components/map/TCBParameter.tsx index 04b73d5..82529af 100644 --- a/client/src/components/map/TCBParameter.tsx +++ b/client/src/components/map/TCBParameter.tsx @@ -28,27 +28,27 @@ const TCBParameter = ({ ) const tables = [ - 'vStreets', - 'tTypes', - 'vPipesGround', - 'vPipesLayer', - 'vPipesIsolation', - 'vRepairEvent', - 'vPipesMaterial', 'vBoilers', - 'vHotWaterTypes', - 'vHeatingTypes', - 'vColdWaterTypes', 'vCanalization', + 'vColdWaterTypes', + 'vCovering', 'vElectroSupplyTypes', - 'vGasSupplyTypes', 'vFoundation', + 'vGasSupplyTypes', + 'vHeatingTypes', + 'vHotWaterTypes', 'vMaterialsWall', - 'vCovering', + 'vPipeDiameters', + 'vPipeOutDiameters', + 'vPipesGround', + 'vPipesIsolation', + 'vPipesLayer', + 'vPipesMaterial', + 'vRepairEvent', 'vRoof', + 'vStreets', 'vTechStatus', - 'vPipeOutDiameters', - 'vPipeDiameters', + 'tTypes', ] const TCBValue = (vtable: string) => { diff --git a/client/src/store/map.ts b/client/src/store/map.ts index 3e32bd5..6332274 100644 --- a/client/src/store/map.ts +++ b/client/src/store/map.ts @@ -33,7 +33,7 @@ export const useMapStore = create(() => ({ currentY: undefined, currentCoordinate: null, statusText: '', - satMapsProvider: 'custom', + satMapsProvider: 'google', selectedObjectType: null, })); diff --git a/client/src/store/objects.ts b/client/src/store/objects.ts index 097b2e6..4c686fe 100644 --- a/client/src/store/objects.ts +++ b/client/src/store/objects.ts @@ -12,7 +12,7 @@ export const useObjectsStore = create(() => ({ selectedRegion: null, selectedDistrict: null, selectedCity: null, - selectedYear: 2023, + selectedYear: null, currentObjectId: null }));