summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-06-20 16:52:58 +0900
committernztqa <nztqa@users.noreply.github.com>2017-06-20 16:52:58 +0900
commit37effd8324279c97c50d972851ae3ded985a7fa1 (patch)
treec1f876b4c94a47d8866f36f018f27efcb04be2ee /config
parent82d289e899e0cc4aee8a5eb7949c1b8a162fe201 (diff)
downloadwekan-37effd8324279c97c50d972851ae3ded985a7fa1.tar.gz
wekan-37effd8324279c97c50d972851ae3ded985a7fa1.tar.bz2
wekan-37effd8324279c97c50d972851ae3ded985a7fa1.zip
Fix filter reset on moving between starred boards.
Diffstat (limited to 'config')
-rw-r--r--config/router.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/router.js b/config/router.js
index 72592bd6..75f6ab58 100644
--- a/config/router.js
+++ b/config/router.js
@@ -31,6 +31,7 @@ FlowRouter.route('/b/:id/:slug', {
// If we close a card, we'll execute again this route action but we don't
// want to excape every current actions (filters, etc.)
if (previousBoard !== currentBoard) {
+ Filter.reset();
EscapeActions.executeAll();
} else {
EscapeActions.executeUpTo('popup-close');