diff --git a/webapp/src/components/kanban/kanban.tsx b/webapp/src/components/kanban/kanban.tsx index 3a02d3deb..94d64f447 100644 --- a/webapp/src/components/kanban/kanban.tsx +++ b/webapp/src/components/kanban/kanban.tsx @@ -228,7 +228,8 @@ class Kanban extends React.Component { const srcIndex = visibleOptionIds.indexOf(dstOption.id) const destIndex = visibleOptionIds.indexOf(option.id) - visibleOptionIds.splice(destIndex, 0, visibleOptionIds.splice(srcIndex, 1)[0]) + visibleOptionIds[srcIndex] = option.id + visibleOptionIds[destIndex] = dstOption.id await mutator.changeViewVisibleOptionIds(activeView, visibleOptionIds) }