diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-02-10 08:30:09 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-02-10 08:30:09 +0200 |
commit | 977763107c135c63c62a7f3475fb23889d914f07 (patch) | |
tree | a02830cf779b8c287ce8777dfafffd3741263598 /client/components | |
parent | 6900ad3f029039fd2ca7f1ebeb54a44b01c7c995 (diff) | |
parent | fc9d6e302feac87e528cdbf2beda114a401a1f1e (diff) | |
download | wekan-977763107c135c63c62a7f3475fb23889d914f07.tar.gz wekan-977763107c135c63c62a7f3475fb23889d914f07.tar.bz2 wekan-977763107c135c63c62a7f3475fb23889d914f07.zip |
Merge branch 'umbertooo-fix-quit-board' into devel
Diffstat (limited to 'client/components')
-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'); |