From 5d7c3b2007d51ce0f3494dd5e27df8c13aeb8f04 Mon Sep 17 00:00:00 2001 From: Daniel Spaude Date: Fri, 10 Feb 2023 20:23:14 +0100 Subject: [PATCH] MapView: 'Mapped by' column values should always be delivered - WIP --- packages/nc-gui/composables/useViewColumns.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useViewColumns.ts b/packages/nc-gui/composables/useViewColumns.ts index 02b34a5558..5f237590e5 100644 --- a/packages/nc-gui/composables/useViewColumns.ts +++ b/packages/nc-gui/composables/useViewColumns.ts @@ -26,7 +26,8 @@ export function useViewColumns( ) const isColumnViewEssential = (column: ColumnType) => { - console.log('column', column) + // TODO: delegate this via a cleaner design pattern to map view specific check logic + // (on the other hand, the logic complexity is still very low atm - might be overkill) return view.value?.type === ViewTypes.MAP && (view.value?.view as MapType)?.fk_geo_data_col_id === column.id }