mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Import boards in Sandstorm
This commit is contained in:
parent
f34ef01de9
commit
d2b1a837e6
8 changed files with 29 additions and 4 deletions
|
|
@ -84,6 +84,9 @@ FlowRouter.route('/import/:source', {
|
|||
name: 'import',
|
||||
triggersEnter: [AccountsTemplates.ensureSignedIn],
|
||||
action(params) {
|
||||
if (Session.get('currentBoard')) {
|
||||
Session.set('fromBoard', Session.get('currentBoard'));
|
||||
}
|
||||
Session.set('currentBoard', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('importSource', params.source);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue