Browse Source

feat(nc-gui): handle Uncategorized case

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
b90c1d7c60
  1. 2
      packages/nc-gui/components/smartsheet/Kanban.vue

2
packages/nc-gui/components/smartsheet/Kanban.vue

@ -112,7 +112,7 @@ async function onMove(event: any, stackKey: string) {
// TODO: update groupingField // TODO: update groupingField
const groupingField = 'singleSelect2' const groupingField = 'singleSelect2'
const ele = event.added.element const ele = event.added.element
ele.row[groupingField] = stackKey ele.row[groupingField] = stackKey === 'Uncategorized' ? null : stackKey
await updateOrSaveRow(ele, groupingField) await updateOrSaveRow(ele, groupingField)
} }
} }

Loading…
Cancel
Save