Browse Source

fix(nc-gui): wait for meta columns on mount fields page (#9124)

pull/9131/head
Ramesh Mane 4 months ago committed by GitHub
parent
commit
7c2106ca23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/nc-gui/components/smartsheet/details/Fields.vue

4
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()
})

Loading…
Cancel
Save