Преглед изворни кода

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