Fix filter reset on moving between starred boards.

This commit is contained in:
nztqa 2017-06-20 16:52:58 +09:00
parent 82d289e899
commit 37effd8324

View file

@ -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 // If we close a card, we'll execute again this route action but we don't
// want to excape every current actions (filters, etc.) // want to excape every current actions (filters, etc.)
if (previousBoard !== currentBoard) { if (previousBoard !== currentBoard) {
Filter.reset();
EscapeActions.executeAll(); EscapeActions.executeAll();
} else { } else {
EscapeActions.executeUpTo('popup-close'); EscapeActions.executeUpTo('popup-close');