mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Snapshots: Fixed issue loading graphs in snapshots (#28111)
This commit is contained in:
parent
2567e5202a
commit
71d72cc973
@ -81,6 +81,12 @@ class MetricsPanelCtrl extends PanelCtrl {
|
||||
data = data.data;
|
||||
}
|
||||
|
||||
this.panelData = {
|
||||
state: LoadingState.Done,
|
||||
series: data,
|
||||
timeRange: this.range,
|
||||
};
|
||||
|
||||
// Defer panel rendering till the next digest cycle.
|
||||
// For some reason snapshot panels don't init at this time, so this helps to avoid rendering issues.
|
||||
return this.$timeout(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user