diff --git a/frontend/app/components/shared/SessionSearch/SessionSearch.tsx b/frontend/app/components/shared/SessionSearch/SessionSearch.tsx
index 1d25974cf..6d14b699f 100644
--- a/frontend/app/components/shared/SessionSearch/SessionSearch.tsx
+++ b/frontend/app/components/shared/SessionSearch/SessionSearch.tsx
@@ -21,11 +21,11 @@ interface Props {
updateFilter: typeof updateFilter;
}
function SessionSearch(props: Props) {
- const { appliedFilter, saveRequestPayloads = false, metaLoading } = props;
+ const { appliedFilter, saveRequestPayloads = false, metaLoading = false } = props;
const hasEvents = appliedFilter.filters.filter((i: any) => i.isEvent).size > 0;
const hasFilters = appliedFilter.filters.filter((i: any) => !i.isEvent).size > 0;
- useSessionSearchQueryHandler({ appliedFilter, applyFilter: props.updateFilter });
+ useSessionSearchQueryHandler({ appliedFilter, applyFilter: props.fetchSessions, loading: metaLoading });
useEffect(() => {
debounceFetch = debounce(() => props.fetchSessions(), 500);
@@ -89,11 +89,9 @@ function SessionSearch(props: Props) {
- {/* */}