mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fixed some rules
This commit is contained in:
parent
254c7fe951
commit
37a53e7466
3 changed files with 8 additions and 8 deletions
|
@ -36,8 +36,8 @@ RulesHelper = {
|
|||
if(action.actionType === 'moveCardToTop'){
|
||||
let listId;
|
||||
let list;
|
||||
if(activity.listTitle === '*'){
|
||||
listId = card.swimlaneId;
|
||||
if(action.listTitle === '*'){
|
||||
listId = card.listId;
|
||||
list = card.list();
|
||||
}else{
|
||||
list = Lists.findOne({title: action.listTitle, boardId });
|
||||
|
@ -49,8 +49,8 @@ RulesHelper = {
|
|||
if(action.actionType === 'moveCardToBottom'){
|
||||
let listId;
|
||||
let list;
|
||||
if(activity.listTitle === '*'){
|
||||
listId = card.swimlaneId;
|
||||
if(action.listTitle === '*'){
|
||||
listId = card.listId;
|
||||
list = card.list();
|
||||
}else{
|
||||
list = Lists.findOne({title: action.listTitle, boardId});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue