Browse Source

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

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

2
packages/nc-gui/components/smartsheet/Kanban.vue

@ -132,7 +132,7 @@ const attachments = (record: any): Attachment[] => {
const reloadAttachments = ref(false)
reloadViewMetaHook?.on(async () => {
alert('reloadViewMetaHook')
// alert('reloadViewMetaHook')
await loadKanbanMeta()
reloadAttachments.value = true

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

@ -54,14 +54,14 @@ const { eventBus } = useSmartsheetStoreOrThrow()
eventBus.on((event) => {
alert('eventBus.on in FieldsMenu')
// alert('eventBus.on in FieldsMenu')
if (event === SmartsheetStoreEvents.FIELD_RELOAD) {
alert('SmartsheetStoreEvents.FIELD_RELOAD')
// alert('SmartsheetStoreEvents.FIELD_RELOAD')
loadViewColumns()
}
else if (event === SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE) {
alert('SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE')
// alert('SmartsheetStoreEvents.MAPPED_BY_COLUMN_CHANGE')
loadViewColumns()
}
})

Loading…
Cancel
Save