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

Loading…
Cancel
Save