mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 05:57:13 -04:00
Merge branch 'GhassenRjab-fix-export-path' into devel
Fix Export Wekan board. Thanks to GhassenRjab ! Closes #1061
This commit is contained in:
commit
b5c22e2a8a
2 changed files with 11 additions and 6 deletions
|
@ -9,10 +9,11 @@ This release adds the following new features:
|
|||
|
||||
and fixes the following bugs:
|
||||
|
||||
* [Fix IE 11 drag board to scroll](https://github.com/wekan/wekan/pull/1052).
|
||||
* [Fix IE 11 drag board to scroll](https://github.com/wekan/wekan/pull/1052);
|
||||
* [Fix Export Wekan board](https://github.com/wekan/wekan/pull/1067).
|
||||
|
||||
Thanks to GitHub users BaobabCoder, nebulade and nztqa for their
|
||||
contributions.
|
||||
Thanks to GitHub users BaobabCoder, GhassenRjab, nebulade and nztqa
|
||||
for their contributions.
|
||||
|
||||
# v0.23 2017-05-21 Wekan release
|
||||
|
||||
|
|
|
@ -17,9 +17,13 @@ Template.boardMenuPopup.events({
|
|||
|
||||
Template.boardMenuPopup.helpers({
|
||||
exportUrl() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
const loginToken = Accounts._storedLoginToken();
|
||||
return FlowRouter.url(`api/boards/${boardId}/export?authToken=${loginToken}`);
|
||||
const params = {
|
||||
boardId: Session.get('currentBoard'),
|
||||
};
|
||||
const queryParams = {
|
||||
authToken: Accounts._storedLoginToken(),
|
||||
};
|
||||
return FlowRouter.path('/api/boards/:boardId/export', params, queryParams);
|
||||
},
|
||||
exportFilename() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue