Browse Source

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

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

4
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -61,8 +61,8 @@ eventBus.on((event) => {
} }
else if (event === SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE) { else if (event === SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE) {
// alert('SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE') alert('SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE')
loadViewColumns() // loadViewColumns()
} }
}) })

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

@ -71,6 +71,7 @@ export function useViewColumns(
...currentColumnField, ...currentColumnField,
order: currentColumnField.order || order++, order: currentColumnField.order || order++,
system: isSystemColumn(metaColumnById?.value?.[currentColumnField.fk_column_id!]), system: isSystemColumn(metaColumnById?.value?.[currentColumnField.fk_column_id!]),
// show: isColumnViewEssential(column) || !!currentColumnField.show,
isViewEssentialField: isColumnViewEssential(column), isViewEssentialField: isColumnViewEssential(column),
} }
}) })

Loading…
Cancel
Save