diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-07-25 16:26:25 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-07-25 16:26:25 +0300 |
commit | fe2163a54614f64a705da537b97c41aa7c1a83c8 (patch) | |
tree | a82069a72a4fe09e7f7846fa027570f963be16d6 /config | |
parent | 7b4970a8d980f3918fcf7fbb584d7a67aae9cc13 (diff) | |
parent | 1eaada0feba4b690e9126d663e58fe2b9eb64c7c (diff) | |
download | wekan-fe2163a54614f64a705da537b97c41aa7c1a83c8.tar.gz wekan-fe2163a54614f64a705da537b97c41aa7c1a83c8.tar.bz2 wekan-fe2163a54614f64a705da537b97c41aa7c1a83c8.zip |
Merge branch 'export-import-sandstorm' of https://github.com/GhassenRjab/wekan into GhassenRjab-export-import-sandstorm
Diffstat (limited to 'config')
-rw-r--r-- | config/router.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/router.js b/config/router.js index d4d13be5..ea85c7e6 100644 --- a/config/router.js +++ b/config/router.js @@ -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); |