mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-09 17:12:02 +00:00
fix: filter goes blank on click of any filter value (#1118)
This commit is contained in:
parent
042561857e
commit
d0c523a655
@ -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<ExploreProps> = ({
|
||||
|
||||
useEffect(() => {
|
||||
if (!isMounting.current && previsouIndex === getCurrentIndex(tab)) {
|
||||
forceSetAgg.current = Boolean(searchIndex);
|
||||
forceSetAgg.current = isUndefined(tab);
|
||||
fetchTableData();
|
||||
}
|
||||
}, [currentPage, filters, sortField, sortOrder]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user