summaryrefslogtreecommitdiffstats
path: root/config/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/router.js')
-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');