Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrtj committed Oct 16, 2024
1 parent 7229f33 commit ec3e710
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const SearchPanelContent = ({
queryManager.filterManager.getFilters() ?? [],
uiSettings ? getEsQueryConfig(uiSettings) : undefined
);

// Additional call because the search bar doesn't call onQueryChange when the query is cleared from filters
onQueryChange?.(mergedQuery.query);
setSearchParams({
Expand Down Expand Up @@ -129,7 +130,6 @@ export const SearchPanelContent = ({
isClearable={true}
customSubmitButton={<div />}
onQueryChange={({ query }) => {
// console.log('On query change called', query);
debouncedOnQueryChange?.(query?.query);
}}
/>
Expand Down

0 comments on commit ec3e710

Please sign in to comment.