mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
Snapshots: Fix breakage of some panel types due to missing structureRev (#76586)
This commit is contained in:
parent
3ba78c45d1
commit
56c2d8ff40
@ -36,6 +36,7 @@ export function loadSnapshotData(panel: PanelModel, dashboard: DashboardModel):
|
||||
theme: config.theme2,
|
||||
timeZone: dashboard.getTimezone(),
|
||||
}),
|
||||
structureRev: 1,
|
||||
annotations,
|
||||
};
|
||||
}
|
||||
|
@ -104,6 +104,7 @@ export class PanelQueryRunner {
|
||||
state: LoadingState.Done,
|
||||
series: this.dataConfigSource.snapshotData.map((v) => toDataFrame(v)),
|
||||
timeRange: getDefaultTimeRange(), // Don't need real time range for snapshots
|
||||
structureRev,
|
||||
};
|
||||
return of(snapshotPanelData);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user