Browse Source

fix(gui-v2): column not display after column creation

pull/3502/head
Wing-Kam Wong 2 years ago
parent
commit
bc35ce676c
  1. 2
      packages/nc-gui-v2/composables/useViewColumns.ts

2
packages/nc-gui-v2/composables/useViewColumns.ts

@ -203,7 +203,7 @@ export function useViewColumns(view: Ref<ViewType> | undefined, meta: ComputedRe
// reload view columns when table meta changes // reload view columns when table meta changes
watch( watch(
() => meta, meta,
async (newVal, oldVal) => { async (newVal, oldVal) => {
if (newVal !== oldVal && meta.value) { if (newVal !== oldVal && meta.value) {
await loadViewColumns() await loadViewColumns()

Loading…
Cancel
Save