Browse Source

fix(gui-v2): add loadViewColumns before reloadData

pull/3493/head
Wing-Kam Wong 2 years ago
parent
commit
5a8568efcd
  1. 4
      packages/nc-gui-v2/composables/useViewColumns.ts

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

@ -127,8 +127,8 @@ export function useViewColumns(view: Ref<ViewType> | undefined, meta: ComputedRe
return column
})
await loadViewColumns()
reloadData?.()
return
}
if (isUIAllowed('fieldsSync')) {
@ -143,7 +143,7 @@ export function useViewColumns(view: Ref<ViewType> | undefined, meta: ComputedRe
return insertedField
}
}
await loadViewColumns()
reloadData?.()
}

Loading…
Cancel
Save