mirror of
https://github.com/wekan/wekan.git
synced 2026-02-20 15:04:07 +01:00
Use a method call to move the swimlane server side
This commit is contained in:
parent
aad300613d
commit
ed54c09b48
4 changed files with 83 additions and 66 deletions
|
|
@ -346,9 +346,6 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
);
|
||||
|
||||
console.log('boards.count():', boards.count());
|
||||
console.log('boards:', boards);
|
||||
|
||||
return boards;
|
||||
},
|
||||
|
||||
|
|
@ -361,8 +358,7 @@ BlazeComponent.extendComponent({
|
|||
let boardId;
|
||||
if (bSelect) {
|
||||
boardId = bSelect.options[bSelect.selectedIndex].value;
|
||||
swimlane.move(boardId);
|
||||
this.board().getDefaultSwimline();
|
||||
Meteor.call('moveSwimlane', this.currentSwimlane._id, boardId);
|
||||
}
|
||||
Popup.close();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue