From b34afd239c347093b16190ef57a2d2ad3a36b535 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 9 Aug 2022 18:31:39 +0800 Subject: [PATCH] fix(gui-v2): feed title in case column name is null --- .../nc-gui-v2/components/smartsheet-column/EditOrAdd.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue index 648c6f6b02..1691f6f8e1 100644 --- a/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue +++ b/packages/nc-gui-v2/components/smartsheet-column/EditOrAdd.vue @@ -93,6 +93,11 @@ watch( } }, ) + +// for cases like formula +if (!formState.value?.column_name) { + formState.value.column_name = formState.value?.title +}