From f19edacebdf9802859685c1b50e44b8a7974ab74 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Sun, 8 Oct 2023 20:05:10 +0000 Subject: [PATCH] fix(nc-gui): Fixed issue with image drop and kanban drop with multiple images --- .../nc-gui/components/smartsheet/Kanban.vue | 83 ++++++++++--------- 1 file changed, 45 insertions(+), 38 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index a0f4ba20bd..aa5f484b15 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -386,6 +386,11 @@ watch( immediate: true, }, ) + +const getRowId = (row: RowType) => { + const pk = extractPkFromRow(row.row, meta.value!.columns!) + return pk ? `row-${pk}` : '' +}