Dashboards: Panel non applicable filters optimization (#115132)
optimisations
This commit is contained in:
+2
-10
@@ -79,16 +79,8 @@ export function PanelNonApplicableDrilldownsSubHeader({ filtersVar, groupByVar,
|
|||||||
};
|
};
|
||||||
|
|
||||||
fetchApplicability();
|
fetchApplicability();
|
||||||
}, [
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
filterKey,
|
}, [filterKey, groupByKey, filtersVar, groupByVar, queryRunner]);
|
||||||
groupByKey,
|
|
||||||
filtersVar,
|
|
||||||
groupByVar,
|
|
||||||
queryRunner,
|
|
||||||
filtersState?.filters,
|
|
||||||
groupByState?.value,
|
|
||||||
filtersState?.originFilters,
|
|
||||||
]);
|
|
||||||
|
|
||||||
useLayoutEffect(() => {
|
useLayoutEffect(() => {
|
||||||
if (!nonApplicable.length) {
|
if (!nonApplicable.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user