QueryEditor: Clean-up interface to only have one PanelData (#19249)

* QueryEditor: Clean-up interface to only have one PanelData

* Renamed to prop name to data
This commit is contained in:
Torkel Ödegaard
2019-09-23 11:13:33 +02:00
committed by GitHub
parent fd7e2a21a1
commit bbf2bd18fd
9 changed files with 32 additions and 39 deletions
+4 -2
View File
@@ -279,8 +279,10 @@ export interface QueryEditorProps<
query: TQuery;
onRunQuery: () => void;
onChange: (value: TQuery) => void;
panelData: PanelData; // The current panel data
queryResponse?: PanelData; // data filtered to only this query. Includes the error.
/*
* Contains query response filtered by refId and possible query error
*/
data?: PanelData;
}
export enum DataSourceStatus {