Browse Source

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

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

4
packages/nc-gui/composables/useViewColumns.ts

@ -44,6 +44,9 @@ export function useViewColumns(
})
const loadViewColumns = async () => {
debugger
if (!meta || !view) return
let order = 1
@ -68,6 +71,7 @@ export function useViewColumns(
title: column.title,
fk_column_id: column.id,
...currentColumnField,
show: currentColumnField.show || isColumnViewEssential(currentColumnField),
order: currentColumnField.order || order++,
system: isSystemColumn(metaColumnById?.value?.[currentColumnField.fk_column_id!]),
isViewEssentialField: isColumnViewEssential(column),

Loading…
Cancel
Save