summaryrefslogtreecommitdiffstats
path: root/config/router.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-11-29 14:19:49 +0200
committerLauri Ojansivu <x@xet7.org>2017-11-29 14:19:49 +0200
commited95542b675aa34dee1c6eaafb1fb3a157215039 (patch)
tree4daa8de28d5b7604630b793f0043550eaa2476a7 /config/router.js
parent9c283112edce9e7dd4bc1bd3b99a64b297082256 (diff)
parent54036fd7a3ac9bf25b6c601890491af66571d5ff (diff)
downloadwekan-ed95542b675aa34dee1c6eaafb1fb3a157215039.tar.gz
wekan-ed95542b675aa34dee1c6eaafb1fb3a157215039.tar.bz2
wekan-ed95542b675aa34dee1c6eaafb1fb3a157215039.zip
Merge branch 'devel'
Diffstat (limited to 'config/router.js')
-rw-r--r--config/router.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/router.js b/config/router.js
index c86a92ac..1f80004a 100644
--- a/config/router.js
+++ b/config/router.js
@@ -8,6 +8,7 @@ FlowRouter.route('/', {
triggersEnter: [AccountsTemplates.ensureSignedIn],
action() {
Session.set('currentBoard', null);
+ Session.set('currentList', null);
Session.set('currentCard', null);
Filter.reset();
@@ -88,6 +89,7 @@ FlowRouter.route('/import/:source', {
Session.set('fromBoard', Session.get('currentBoard'));
}
Session.set('currentBoard', null);
+ Session.set('currentList', null);
Session.set('currentCard', null);
Session.set('importSource', params.source);
@@ -106,6 +108,7 @@ FlowRouter.route('/setting', {
AccountsTemplates.ensureSignedIn,
() => {
Session.set('currentBoard', null);
+ Session.set('currentList', null);
Session.set('currentCard', null);
Filter.reset();
@@ -126,6 +129,7 @@ FlowRouter.route('/information', {
AccountsTemplates.ensureSignedIn,
() => {
Session.set('currentBoard', null);
+ Session.set('currentList', null);
Session.set('currentCard', null);
Filter.reset();
@@ -146,6 +150,7 @@ FlowRouter.route('/people', {
AccountsTemplates.ensureSignedIn,
() => {
Session.set('currentBoard', null);
+ Session.set('currentList', null);
Session.set('currentCard', null);
Filter.reset();