mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
parent
c3d495e7c6
commit
6789e8564a
1 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ RulesHelper = {
|
|||
listId = list._id;
|
||||
}
|
||||
const minOrder = _.min(list.cardsUnfiltered(card.swimlaneId).map((c) => c.sort));
|
||||
card.move(card.swimlaneId, listId, minOrder - 1);
|
||||
card.move(boardId, card.swimlaneId, listId, minOrder - 1);
|
||||
}
|
||||
if(action.actionType === 'moveCardToBottom'){
|
||||
let listId;
|
||||
|
|
@ -64,7 +64,7 @@ RulesHelper = {
|
|||
listId = list._id;
|
||||
}
|
||||
const maxOrder = _.max(list.cardsUnfiltered(card.swimlaneId).map((c) => c.sort));
|
||||
card.move(card.swimlaneId, listId, maxOrder + 1);
|
||||
card.move(boardId, card.swimlaneId, listId, maxOrder + 1);
|
||||
}
|
||||
if(action.actionType === 'sendEmail'){
|
||||
const to = action.emailTo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue