Skip to content

Commit

Permalink
Merge pull request elastic#17 from abdulloh76/saved-filters-issue
Browse files Browse the repository at this point in the history
Fix issue adding saved filters one by one
  • Loading branch information
stratoula authored Mar 1, 2022
2 parents 61d40ad + 3ec78ce commit b17fb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data/public/ui/filter_bar/filter_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const FilterBarUI = React.memo(function FilterBarUI(props: Props) {
}, []);

useEffect(() => {
const savedFiltersGroupIds: number[] = [];
const savedFiltersGroupIds: number[] = [...selectedSavedFiltersGroupIds];
let groupId = getInitForField(props.multipleFilters, 'groupId', 1);
let id = getInitForField(props.multipleFilters, 'id', 0);

Expand Down

0 comments on commit b17fb79

Please sign in to comment.