From 4b61b47978f7058b67c1509796906c84449e0c00 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 12 Sep 2022 19:20:43 +0800 Subject: [PATCH] chore(nc-gui): use groupingField.value --- packages/nc-gui/components/smartsheet/Kanban.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index c4fbfa8ba4..13b2862e9d 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -116,7 +116,7 @@ const expandFormClick = async (e: MouseEvent, row: RowType) => { async function onMove(event: any, stackKey: string) { if (event.added) { const ele = event.added.element - ele.row[groupingField] = stackKey === 'Uncategorized' ? null : stackKey + ele.row[groupingField.value] = stackKey === 'Uncategorized' ? null : stackKey await updateOrSaveRow(ele) } } @@ -143,7 +143,7 @@ openNewRecordFormHook?.on(async () => {