From b265d5d5ae0a60424274878a4b06331ae16efa8c Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 13 Sep 2022 19:59:03 +0800 Subject: [PATCH] wip(nc-gui): add / edit stack logic --- .../nc-gui/components/smartsheet/Kanban.vue | 43 +++++++++++++------ 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index 8fb317c973..fd242a5e53 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -41,6 +41,7 @@ const { addEmptyRow, groupingFieldColOptions, groupingField, + groupingFieldColumn, } = useKanbanViewData(meta, view as any) const { isUIAllowed } = useUIPermission() @@ -143,20 +144,17 @@ async function onMove(event: any, stackKey: string) { } } -function createNewStack() { - // TODO: - // P.S tag value cannot be empty -} - openNewRecordFormHook?.on(async () => { const newRow = await addEmptyRow() expandForm(newRow) }) + +const addNewStackDropdown = ref(false)