diff --git a/packages/geoview-core/src/core/stores/store-interface-and-intial-values/data-table-state.ts b/packages/geoview-core/src/core/stores/store-interface-and-intial-values/data-table-state.ts index 03a34b6776d..abf7cb8d03f 100644 --- a/packages/geoview-core/src/core/stores/store-interface-and-intial-values/data-table-state.ts +++ b/packages/geoview-core/src/core/stores/store-interface-and-intial-values/data-table-state.ts @@ -81,7 +81,7 @@ export function initialDataTableState(set: TypeSetStore, get: TypeGetStore): IDa get().mapId, layerPath, filterStrings, - !!get().dataTableState.layersDataTableSetting[layerPath].mapFilteredRecord + !!get()?.dataTableState?.layersDataTableSetting[layerPath]?.mapFilteredRecord ); }, setActiveLayersData: (activeLayerData: TypeLayerData[]) => {