diff --git a/packages/nc-gui-v2/composables/useViewColumns.ts b/packages/nc-gui-v2/composables/useViewColumns.ts index 827ad0f909..b338d44b62 100644 --- a/packages/nc-gui-v2/composables/useViewColumns.ts +++ b/packages/nc-gui-v2/composables/useViewColumns.ts @@ -202,11 +202,14 @@ export function useViewColumns(view: Ref | undefined, meta: ComputedRe }) // reload view columns when table meta changes - watch(meta, async (newVal, oldVal) => { - if (newVal !== oldVal && meta.value) { - await loadViewColumns() - } - }) + watch( + () => meta, + async (newVal, oldVal) => { + if (newVal !== oldVal && meta.value) { + await loadViewColumns() + } + }, + ) return { fields,