diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-11-29 17:06:33 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-11-29 17:06:33 +0900 |
commit | c31d7455f7b7de4198ee46c59fe0886c54bf457c (patch) | |
tree | d4226cd2278347c4f24d51b690b0f4932526a482 /config | |
parent | 162b15c0cdba99c406f41a80a431f2b99f4ff027 (diff) | |
download | wekan-c31d7455f7b7de4198ee46c59fe0886c54bf457c.tar.gz wekan-c31d7455f7b7de4198ee46c59fe0886c54bf457c.tar.bz2 wekan-c31d7455f7b7de4198ee46c59fe0886c54bf457c.zip |
Optimize for mobile web, show single list per page with navigate bar
Diffstat (limited to 'config')
-rw-r--r-- | config/router.js | 5 |
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(); |