From 0be1d018beedf7f2660cd3e5238e8e48cc7468b1 Mon Sep 17 00:00:00 2001 From: Daniel Spaude Date: Tue, 14 Mar 2023 18:38:31 +0100 Subject: [PATCH] code cleanup --- packages/nc-gui/composables/useMapViewDataStore.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/nc-gui/composables/useMapViewDataStore.ts b/packages/nc-gui/composables/useMapViewDataStore.ts index f9af05bc44..496ced6a9a 100644 --- a/packages/nc-gui/composables/useMapViewDataStore.ts +++ b/packages/nc-gui/composables/useMapViewDataStore.ts @@ -74,8 +74,6 @@ const [useProvideMapViewStore, useMapViewStore] = useInjectionState( if (!viewMeta?.value?.id || !meta?.value?.columns) return mapMetaData.value = isPublic.value ? (sharedView.value?.view as MapType) : await $api.dbView.mapRead(viewMeta.value.id) - // if (!viewMeta?.value?.id || !meta?.value?.columns) return - // mapMetaData.value = await $api.dbView.mapRead(viewMeta.value.id) geoDataFieldColumn.value = (meta.value.columns as ColumnType[]).filter((f) => f.id === mapMetaData.value.fk_geo_data_col_id)[0] || {} }