Merge branch 'develop' into dist/ubuntu/bionic/develop

This commit is contained in:
wpetit 2019-12-05 13:12:10 +01:00
commit 88a0a5bebe
3 changed files with 4 additions and 1 deletions

View File

@ -26,5 +26,7 @@ clean:
rm -rf release rm -rf release
rm -rf vendor rm -rf vendor
rm -rf bin rm -rf bin
rm -rf client/node_modules
rm -rf client/dist/*
.PHONY: lint watch build vendor tidy release .PHONY: lint watch build vendor tidy release

View File

@ -58,7 +58,6 @@ function handleMoveCard(state, action) {
} else { } else {
fromCards.splice(fromPosition, 1); fromCards.splice(fromPosition, 1);
fromCards.splice(toPosition, 0, card); fromCards.splice(toPosition, 0, card);
console.log(fromCards)
} }
return { return {

View File

@ -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],