Pārlūkot izejas kodu

Fix filter reset on moving between starred boards.

nztqa 8 gadi atpakaļ
vecāks
revīzija
37effd8324
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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');