mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
parent
76f6f8caa4
commit
3d45c9610f
2 changed files with 33 additions and 33 deletions
|
@ -15,17 +15,17 @@ Template.boardMenuPopup.events({
|
|||
}),
|
||||
});
|
||||
|
||||
// Template.boardMenuPopup.helpers({
|
||||
// exportUrl() {
|
||||
// const boardId = Session.get('currentBoard');
|
||||
// const loginToken = Accounts._storedLoginToken();
|
||||
// return FlowRouter.url(`api/boards/${boardId}?authToken=${loginToken}`);
|
||||
// },
|
||||
// exportFilename() {
|
||||
// const boardId = Session.get('currentBoard');
|
||||
// return `wekan-export-board-${boardId}.json`;
|
||||
// },
|
||||
// });
|
||||
Template.boardMenuPopup.helpers({
|
||||
exportUrl() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
const loginToken = Accounts._storedLoginToken();
|
||||
return FlowRouter.url(`api/boards/${boardId}/export?authToken=${loginToken}`);
|
||||
},
|
||||
exportFilename() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
return `wekan-export-board-${boardId}.json`;
|
||||
},
|
||||
});
|
||||
|
||||
Template.boardChangeTitlePopup.events({
|
||||
submit(evt, tpl) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue