Browse Source

code cleanup

pull/5248/head
Daniel Spaude 2 years ago
parent
commit
0be1d018be
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 2
      packages/nc-gui/composables/useMapViewDataStore.ts

2
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] || {}
}

Loading…
Cancel
Save