Perf: don't re-init plots when changing dashboard timeRange (#46339) (#46340)

(cherry picked from commit ec911be8ef)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-03-09 19:53:59 +01:00
committed by GitHub
co-authored by Leon Sorokin
parent 8ddab3893e
commit 95af6176bf
@@ -60,6 +60,9 @@ export function compareDataFrameStructures(a: DataFrame, b: DataFrame, skipConfi
return false;
}
if (key === 'interval') {
continue;
}
if (key === 'custom') {
if (!shallowCompare(cfgA[key], cfgB[key])) {
return false;