Browse Source

fix(nc-gui): deep watch config options

pull/4071/head
braks 2 years ago
parent
commit
14cf04e3ff
  1. 7
      packages/nc-gui/components/erd/View.vue

7
packages/nc-gui/components/erd/View.vue

@ -70,11 +70,16 @@ const populateTables = async () => {
isLoading = false
}
watch([config, metas, projectTables], populateTables, {
watch([metas, projectTables], populateTables, {
flush: 'post',
immediate: true,
})
watch(config, populateTables, {
flush: 'post',
deep: true,
})
watch(
() => config.value.showAllColumns,
() => {

Loading…
Cancel
Save