mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 05:57:13 -04:00
Merge branch 'nztqa-fix-filterreset' into devel
Fix filter reset on moving between starred boards. Thanks to nztqa !
This commit is contained in:
commit
59b8d35386
2 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,8 @@ and fixes the following bugs:
|
|||
* [Fix Export Wekan board](https://github.com/wekan/wekan/pull/1067);
|
||||
* [Fix "W" shortcut binding](https://github.com/wekan/wekan/pull/1066);
|
||||
* [Fix login url in invitation email](https://github.com/wekan/wekan/issues/993);
|
||||
* [Edit card description with invalid markdown](https://github.com/wekan/wekan/pull/1073).
|
||||
* [Edit card description with invalid markdown](https://github.com/wekan/wekan/pull/1073);
|
||||
* [Fix filter reset on moving between starred boards](https://github.com/wekan/wekan/pull/1074).
|
||||
|
||||
Thanks to GitHub users BaobabCoder, GhassenRjab, nebulade, nztqa and xet7
|
||||
for their contributions.
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue