forked from finos/vuu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finos#1074 fix major bugs in FilterBar (finos#1117)
- fixes a bug that crashes the app when a user tries editing an existing filter. Cause: we try finding the edited filter in `filters` state by reference but the reference has already been changed since editFilter is itself a state (reference changes on every set). - resets the editingFilter.current to undefined after apply save. Otherwise, crashes the app when the user has already successfully edited an existing filter and tries to add a new one. - also fixes an issue with TextInput multiselection handling, where it was wrongly sending a string instead of an array of length 1. Crashes the app when the user selects only a single element in a multi value filter clause.
- Loading branch information
1 parent
7623b26
commit 7743733
Showing
4 changed files
with
27 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters