浏览代码

Fix filter reset on moving between starred boards.

nztqa 8 年之前
父节点
当前提交
37effd8324
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      config/router.js

+ 1 - 0
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');