mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix filter reset on moving between starred boards.
This commit is contained in:
parent
82d289e899
commit
37effd8324
1 changed files with 1 additions and 0 deletions
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue