diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-02-10 08:20:20 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-02-10 08:20:20 +0200 |
commit | fc9d6e302feac87e528cdbf2beda114a401a1f1e (patch) | |
tree | a02830cf779b8c287ce8777dfafffd3741263598 | |
parent | 6900ad3f029039fd2ca7f1ebeb54a44b01c7c995 (diff) | |
parent | eb618c891f50e59b54c5dadd6ceb4ba7e60bea59 (diff) | |
download | wekan-fc9d6e302feac87e528cdbf2beda114a401a1f1e.tar.gz wekan-fc9d6e302feac87e528cdbf2beda114a401a1f1e.tar.bz2 wekan-fc9d6e302feac87e528cdbf2beda114a401a1f1e.zip |
Merge branch 'fix-quit-board' of https://github.com/umbertooo/wekan into umbertooo-fix-quit-board
-rw-r--r-- | client/components/sidebar/sidebar.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js index f32a27c5..5e696308 100644 --- a/client/components/sidebar/sidebar.js +++ b/client/components/sidebar/sidebar.js @@ -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'); |