Ignore card move in the same lane
This commit is contained in:
parent
048ef49933
commit
14d13c238a
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue