|
|
@ -232,7 +232,7 @@ async function onMoveStack(event: any, undo = false) { |
|
|
|
const { fk_grp_col_id, meta: stack_meta } = kanbanMetaData.value |
|
|
|
const { fk_grp_col_id, meta: stack_meta } = kanbanMetaData.value |
|
|
|
groupingFieldColOptions.value[oldIndex].order = newIndex |
|
|
|
groupingFieldColOptions.value[oldIndex].order = newIndex |
|
|
|
groupingFieldColOptions.value[newIndex].order = oldIndex |
|
|
|
groupingFieldColOptions.value[newIndex].order = oldIndex |
|
|
|
const stackMetaObj = JSON.parse(stack_meta as string) || {} |
|
|
|
const stackMetaObj = parseProp(stack_meta) || {} |
|
|
|
stackMetaObj[fk_grp_col_id as string] = groupingFieldColOptions.value |
|
|
|
stackMetaObj[fk_grp_col_id as string] = groupingFieldColOptions.value |
|
|
|
await updateKanbanMeta({ |
|
|
|
await updateKanbanMeta({ |
|
|
|
meta: stackMetaObj, |
|
|
|
meta: stackMetaObj, |
|
|
|