mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-18 05:57:17 +00:00
Fix: issue-2179 Left panel disappears after clicking 'Clear all' button (#2249)
* Fix: issue-2179 Left panel disappears after clicking 'Clear all' button * fixed flikiness in side penal
This commit is contained in:
parent
de3b3e4abc
commit
a0eb8b112c
@ -443,7 +443,7 @@ const Explore: React.FC<ExploreProps> = ({
|
||||
|
||||
const getData = () => {
|
||||
if (!isMounting.current && previsouIndex === getCurrentIndex(tab)) {
|
||||
forceSetAgg.current = false;
|
||||
forceSetAgg.current = !isFilterSelected;
|
||||
fetchTableData();
|
||||
}
|
||||
};
|
||||
@ -479,6 +479,7 @@ const Explore: React.FC<ExploreProps> = ({
|
||||
useEffect(() => {
|
||||
forceSetAgg.current = true;
|
||||
if (!isMounting.current) {
|
||||
resetFilters();
|
||||
fetchTableData();
|
||||
}
|
||||
}, [searchText, searchIndex]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user