Browse Source

MapView: 'Mapped by' column values should always be delivered - WIP

pull/4749/head
Daniel Spaude 2 years ago
parent
commit
5d7c3b2007
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 3
      packages/nc-gui/composables/useViewColumns.ts

3
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
}

Loading…
Cancel
Save