diff --git a/packages/nc-gui-v2/components.d.ts b/packages/nc-gui-v2/components.d.ts index c83503cfa4..cd5b18371e 100644 --- a/packages/nc-gui-v2/components.d.ts +++ b/packages/nc-gui-v2/components.d.ts @@ -9,6 +9,7 @@ declare module '@vue/runtime-core' { export interface GlobalComponents { AAlert: typeof import('ant-design-vue/es')['Alert'] AAutoComplete: typeof import('ant-design-vue/es')['AutoComplete'] + ABadgeRibbon: typeof import('ant-design-vue/es')['BadgeRibbon'] AButton: typeof import('ant-design-vue/es')['Button'] ACard: typeof import('ant-design-vue/es')['Card'] ACarousel: typeof import('ant-design-vue/es')['Carousel'] @@ -114,6 +115,7 @@ declare module '@vue/runtime-core' { MdiMoonFull: typeof import('~icons/mdi/moon-full')['default'] MdiNotebookCheckOutline: typeof import('~icons/mdi/notebook-check-outline')['default'] MdiOpenInNew: typeof import('~icons/mdi/open-in-new')['default'] + MdiOperator: typeof import('~icons/mdi/operator')['default'] MdiPlus: typeof import('~icons/mdi/plus')['default'] MdiPlusOutline: typeof import('~icons/mdi/plus-outline')['default'] MdiReload: typeof import('~icons/mdi/reload')['default'] diff --git a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue index 8a16613123..0a0080b41d 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue @@ -92,10 +92,15 @@ watch( } }, ) + +// for cases like formula +if (!formState.value?.column_name) { + formState.value.column_name = formState.value?.title +}