diff --git a/packages/nc-gui-v2/composables/useColumnCreateStore.ts b/packages/nc-gui-v2/composables/useColumnCreateStore.ts index 3f4b1cbd28..2ede66d9ba 100644 --- a/packages/nc-gui-v2/composables/useColumnCreateStore.ts +++ b/packages/nc-gui-v2/composables/useColumnCreateStore.ts @@ -196,9 +196,11 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState } await $api.dbTableColumn.create(meta.value.id as string, formState.value) - if (formState.value.uidt === UITypes.LinkToAnotherRecord) { - await getMeta(formState.value.childId, true) + /** if LTAR column then force reload related table meta */ + if (formState.value.uidt === UITypes.LinkToAnotherRecord && meta.value.id !== formState.value.childId) { + getMeta(formState.value.childId, true) } + toast.success('Column created') } onSuccess()