Use a method call to move the swimlane server side

This commit is contained in:
John R. Supplee 2021-03-27 18:50:05 +02:00
parent aad300613d
commit ed54c09b48
4 changed files with 83 additions and 66 deletions

View file

@ -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();
},