mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-10 09:31:24 +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 classNames from 'classnames';
|
||||||
import { cloneDeep } from 'lodash';
|
import { cloneDeep, isUndefined } from 'lodash';
|
||||||
import {
|
import {
|
||||||
AggregationType,
|
AggregationType,
|
||||||
FilterObject,
|
FilterObject,
|
||||||
@ -456,7 +456,7 @@ const Explore: React.FC<ExploreProps> = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!isMounting.current && previsouIndex === getCurrentIndex(tab)) {
|
if (!isMounting.current && previsouIndex === getCurrentIndex(tab)) {
|
||||||
forceSetAgg.current = Boolean(searchIndex);
|
forceSetAgg.current = isUndefined(tab);
|
||||||
fetchTableData();
|
fetchTableData();
|
||||||
}
|
}
|
||||||
}, [currentPage, filters, sortField, sortOrder]);
|
}, [currentPage, filters, sortField, sortOrder]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user