Browse Source

refactor(nc-gui): use onBeforeMount

pull/3563/head
Wing-Kam Wong 2 years ago
parent
commit
bb9a290590
  1. 4
      packages/nc-gui/components/smartsheet/Kanban.vue

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

@ -14,7 +14,7 @@ import {
OpenNewRecordFormHookInj,
ReadonlyInj,
inject,
onMounted,
onBeforeMount,
provide,
useKanbanViewStoreOrThrow,
} from '#imports'
@ -242,7 +242,7 @@ openNewRecordFormHook?.on(async (stackTitle) => {
expandForm(newRow)
})
onMounted(async () => {
onBeforeMount(async () => {
await loadKanbanMeta()
await loadKanbanData()
})

Loading…
Cancel
Save