Fix move parameters

This commit is contained in:
Andrés Manelli 2018-02-07 01:18:08 -03:00
parent 79ae90825e
commit fcebb2a537
2 changed files with 7 additions and 8 deletions

View file

@ -225,10 +225,9 @@ Cards.mutations({
swimlaneId,
listId,
boardId: list.boardId,
sort: sortIndex,
};
if (sortIndex) {
mutatedFields.sort = sortIndex;
}
return {$set: mutatedFields};
},