diff --git a/catalog-rest-service/src/main/resources/ui/src/components/Explore/Explore.component.tsx b/catalog-rest-service/src/main/resources/ui/src/components/Explore/Explore.component.tsx index be9fde8fd0f..01d8583126d 100644 --- a/catalog-rest-service/src/main/resources/ui/src/components/Explore/Explore.component.tsx +++ b/catalog-rest-service/src/main/resources/ui/src/components/Explore/Explore.component.tsx @@ -16,7 +16,7 @@ */ import classNames from 'classnames'; -import { cloneDeep } from 'lodash'; +import { cloneDeep, isUndefined } from 'lodash'; import { AggregationType, FilterObject, @@ -456,7 +456,7 @@ const Explore: React.FC = ({ useEffect(() => { if (!isMounting.current && previsouIndex === getCurrentIndex(tab)) { - forceSetAgg.current = Boolean(searchIndex); + forceSetAgg.current = isUndefined(tab); fetchTableData(); } }, [currentPage, filters, sortField, sortOrder]);