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,
|
toPosition,
|
||||||
} = action;
|
} = action;
|
||||||
|
|
||||||
|
if (fromLaneID === toLaneID) return;
|
||||||
|
|
||||||
const { board, kanboard} = yield select(state => {
|
const { board, kanboard} = yield select(state => {
|
||||||
return {
|
return {
|
||||||
kanboard: state.kanboards.byID[boardID],
|
kanboard: state.kanboards.byID[boardID],
|
||||||
|
|
Loading…
Reference in New Issue