forked from VinokurovVE/tests
satMapsProvider defaults; selectedYear defaulted to null; TCBParameter tables reorder;
This commit is contained in:
@ -28,27 +28,27 @@ const TCBParameter = ({
|
|||||||
)
|
)
|
||||||
|
|
||||||
const tables = [
|
const tables = [
|
||||||
'vStreets',
|
|
||||||
'tTypes',
|
|
||||||
'vPipesGround',
|
|
||||||
'vPipesLayer',
|
|
||||||
'vPipesIsolation',
|
|
||||||
'vRepairEvent',
|
|
||||||
'vPipesMaterial',
|
|
||||||
'vBoilers',
|
'vBoilers',
|
||||||
'vHotWaterTypes',
|
|
||||||
'vHeatingTypes',
|
|
||||||
'vColdWaterTypes',
|
|
||||||
'vCanalization',
|
'vCanalization',
|
||||||
'vElectroSupplyTypes',
|
'vColdWaterTypes',
|
||||||
'vGasSupplyTypes',
|
|
||||||
'vFoundation',
|
|
||||||
'vMaterialsWall',
|
|
||||||
'vCovering',
|
'vCovering',
|
||||||
'vRoof',
|
'vElectroSupplyTypes',
|
||||||
'vTechStatus',
|
'vFoundation',
|
||||||
'vPipeOutDiameters',
|
'vGasSupplyTypes',
|
||||||
|
'vHeatingTypes',
|
||||||
|
'vHotWaterTypes',
|
||||||
|
'vMaterialsWall',
|
||||||
'vPipeDiameters',
|
'vPipeDiameters',
|
||||||
|
'vPipeOutDiameters',
|
||||||
|
'vPipesGround',
|
||||||
|
'vPipesIsolation',
|
||||||
|
'vPipesLayer',
|
||||||
|
'vPipesMaterial',
|
||||||
|
'vRepairEvent',
|
||||||
|
'vRoof',
|
||||||
|
'vStreets',
|
||||||
|
'vTechStatus',
|
||||||
|
'tTypes',
|
||||||
]
|
]
|
||||||
|
|
||||||
const TCBValue = (vtable: string) => {
|
const TCBValue = (vtable: string) => {
|
||||||
|
@ -33,7 +33,7 @@ export const useMapStore = create<MapState>(() => ({
|
|||||||
currentY: undefined,
|
currentY: undefined,
|
||||||
currentCoordinate: null,
|
currentCoordinate: null,
|
||||||
statusText: '',
|
statusText: '',
|
||||||
satMapsProvider: 'custom',
|
satMapsProvider: 'google',
|
||||||
selectedObjectType: null,
|
selectedObjectType: null,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ export const useObjectsStore = create<ObjectsState>(() => ({
|
|||||||
selectedRegion: null,
|
selectedRegion: null,
|
||||||
selectedDistrict: null,
|
selectedDistrict: null,
|
||||||
selectedCity: null,
|
selectedCity: null,
|
||||||
selectedYear: 2023,
|
selectedYear: null,
|
||||||
currentObjectId: null
|
currentObjectId: null
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user