diff --git a/packages/nc-gui/components/smartsheet/details/Fields.vue b/packages/nc-gui/components/smartsheet/details/Fields.vue index 3c3224a8dc..98793f58b6 100644 --- a/packages/nc-gui/components/smartsheet/details/Fields.vue +++ b/packages/nc-gui/components/smartsheet/details/Fields.vue @@ -911,12 +911,12 @@ watch( ) onMounted(async () => { + await until(() => !!(meta.value?.id && meta.value?.columns)).toBeTruthy() + if (meta.value && meta.value.id) { columnsHash.value = (await $api.dbTableColumn.hash(meta.value.id)).hash } - await until(() => meta.value?.columns) - metaToLocal() })