summaryrefslogtreecommitdiffstats
path: root/config/router.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-11-29 12:11:02 +0200
committerLauri Ojansivu <x@xet7.org>2017-11-29 12:11:02 +0200
commitc72792e4ed0e1ff88a1de494e7885238dc6c9881 (patch)
treec8fd646292b810f12ab53762d2404b82d58b2f64 /config/router.js
parent7e4b42e9b3482460cac77a603809a8b5d4016477 (diff)
parentc3e2ee1db8b84102ffb58ffa07d6a0a687ef7455 (diff)
downloadwekan-c72792e4ed0e1ff88a1de494e7885238dc6c9881.tar.gz
wekan-c72792e4ed0e1ff88a1de494e7885238dc6c9881.tar.bz2
wekan-c72792e4ed0e1ff88a1de494e7885238dc6c9881.zip
Merge branch 'nztqa-conflict-resolution-458' into devel
Optimize for mobile web, show single list per page with navigate bar. Thanks to floatinghotpot and nztqa ! Related #953
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();