Browse Source

chore(nc-gui): use groupingField.value

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

2
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) { async function onMove(event: any, stackKey: string) {
if (event.added) { if (event.added) {
const ele = event.added.element const ele = event.added.element
ele.row[groupingField] = stackKey === 'Uncategorized' ? null : stackKey ele.row[groupingField.value] = stackKey === 'Uncategorized' ? null : stackKey
await updateOrSaveRow(ele) await updateOrSaveRow(ele)
} }
} }

Loading…
Cancel
Save