mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
Merge branch 'fix-quit-board' of https://github.com/umbertooo/wekan into umbertooo-fix-quit-board
This commit is contained in:
commit
fc9d6e302f
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ Template.memberPopup.events({
|
|||
Popup.close();
|
||||
}),
|
||||
'click .js-leave-member'() {
|
||||
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
||||
Meteor.call('quitBoard', currentBoard, (err, ret) => {
|
||||
const boardId = Session.get('currentBoard');
|
||||
Meteor.call('quitBoard', boardId, (err, ret) => {
|
||||
if (!ret && ret) {
|
||||
Popup.close();
|
||||
FlowRouter.go('home');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue