Ignore card move in the same lane

This commit is contained in:
wpetit 2019-12-05 13:10:43 +01:00
parent 048ef49933
commit 14d13c238a
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ export function* moveCardSaga(action) {
toPosition,
} = action;
if (fromLaneID === toLaneID) return;
const { board, kanboard} = yield select(state => {
return {
kanboard: state.kanboards.byID[boardID],