mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
PanelQueryRunner: Skip shallow diff when streaming (#79860)
This commit is contained in:
parent
a9f4ffab5d
commit
e28bbd50d8
@ -339,7 +339,7 @@ export class PanelQueryRunner {
|
||||
const last = this.lastResult;
|
||||
const next = skipPreProcess ? data : preProcessPanelData(data, last);
|
||||
|
||||
if (last != null) {
|
||||
if (last != null && next.state !== LoadingState.Streaming) {
|
||||
let sameSeries = compareArrayValues(last.series ?? [], next.series ?? [], (a, b) => a === b);
|
||||
let sameAnnotations = compareArrayValues(last.annotations ?? [], next.annotations ?? [], (a, b) => a === b);
|
||||
let sameState = last.state === next.state;
|
||||
|
Loading…
Reference in New Issue
Block a user