Skip to content

Commit

Permalink
fix a bug that would cause the app to crash of the user would change …
Browse files Browse the repository at this point in the history
…tabs from data table to another while data for a data table was loading.
  • Loading branch information
PVautour committed Oct 15, 2024
1 parent fbf23d9 commit 9f24db1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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[]) => {
Expand Down

0 comments on commit 9f24db1

Please sign in to comment.