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) {
// alert('SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE')
loadViewColumns()
alert('SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE')
// loadViewColumns()
}
})

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

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

Loading…
Cancel
Save