summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorGhassen Rjab <rjab.ghassen@gmail.com>2017-06-17 05:22:21 +0300
committerGhassen Rjab <rjab.ghassen@gmail.com>2017-06-17 05:22:21 +0300
commited2286623116cd5bef7cfe3765da965ba21f9bb4 (patch)
tree670ed63d49d6181431251353a17c5f93b66af5d3 /client
parentd0d28749f152ce8f126d671e4a86c5785478ffdd (diff)
downloadwekan-ed2286623116cd5bef7cfe3765da965ba21f9bb4.tar.gz
wekan-ed2286623116cd5bef7cfe3765da965ba21f9bb4.tar.bz2
wekan-ed2286623116cd5bef7cfe3765da965ba21f9bb4.zip
Fix Travis CI errors, again
Diffstat (limited to 'client')
-rw-r--r--client/components/boards/boardHeader.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 59691b96..06defbfa 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -17,13 +17,11 @@ Template.boardMenuPopup.events({
Template.boardMenuPopup.helpers({
exportUrl() {
- const boardId = Session.get('currentBoard');
- const loginToken = Accounts._storedLoginToken();
- let params = {
- "boardId": boardId,
+ const params = {
+ boardId: Session.get('currentBoard'),
};
- let queryParams = {
- "authToken": loginToken,
+ const queryParams = {
+ authToken: Accounts._storedLoginToken(),
};
return FlowRouter.path('/api/boards/:boardId/export', params, queryParams);
},