Snapshots: Fixes so that dashboard snapshots show data when using Stat, Gauge, BarGauge or Table panels (#29031)

This commit is contained in:
Torkel Ödegaard
2020-11-17 10:25:36 +01:00
committed by GitHub
parent 9d58a4fca2
commit 0f3bebb38d
3 changed files with 31 additions and 8 deletions

View File

@@ -9,7 +9,6 @@ import {
DataConfigSource,
DataLink,
DataQuery,
DataQueryResponseData,
DataTransformerConfig,
eventFactory,
FieldColorConfigSettings,
@@ -24,6 +23,7 @@ import {
ThresholdsMode,
EventBusExtended,
EventBusSrv,
DataFrameDTO,
} from '@grafana/data';
import { EDIT_PANEL_ID } from 'app/core/constants';
import config from 'app/core/config';
@@ -129,7 +129,7 @@ export class PanelModel implements DataConfigSource {
thresholds?: any;
pluginVersion?: string;
snapshotData?: DataQueryResponseData[];
snapshotData?: DataFrameDTO[];
timeFrom?: any;
timeShift?: any;
hideTimeOverride?: any;