diff options
author | Felix Michels <felix.michels@deutschebahn.com> | 2016-10-26 14:18:28 +0200 |
---|---|---|
committer | Felix Michels <felix.michels@deutschebahn.com> | 2016-10-26 14:18:28 +0200 |
commit | eb618c891f50e59b54c5dadd6ceb4ba7e60bea59 (patch) | |
tree | a5b900e1a4e585afa45c88c67f305a8aefff626c /client/components/sidebar | |
parent | b90d668fbc28f931bf8cdf536311ed1bf2d7d2a7 (diff) | |
download | wekan-eb618c891f50e59b54c5dadd6ceb4ba7e60bea59.tar.gz wekan-eb618c891f50e59b54c5dadd6ceb4ba7e60bea59.tar.bz2 wekan-eb618c891f50e59b54c5dadd6ceb4ba7e60bea59.zip |
Method 'quitBoard' requires boardId but got board
Diffstat (limited to 'client/components/sidebar')
-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 0af32f8f..c45e384b 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'); |