Skip to content

Commit 76f33b5

Browse files
committed
fix(Lane DnD): Restore the moveLane action when the lane is dropped in a new position
#158
1 parent 5078b3d commit 76f33b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/BoardContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class BoardContainer extends Component {
4747
onLaneDrop = ({removedIndex, addedIndex, payload}) => {
4848
const {actions, handleLaneDragEnd} = this.props
4949
if (removedIndex !== addedIndex) {
50+
actions.moveLane({oldIndex: removedIndex, newIndex: addedIndex})
5051
handleLaneDragEnd(removedIndex, addedIndex, payload)
5152
}
5253
}

0 commit comments

Comments
 (0)