소스 검색

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');