Explore: Fix rendering of react query editors (#24593)

* Fix rendering of react query editors

* Refactor solution for improved readability

* Update

* Add test coverage

* Refactor
This commit is contained in:
Ivana Huckova
2020-05-13 15:56:22 +02:00
committed by GitHub
parent f29b70b442
commit 285ea7595d
3 changed files with 143 additions and 50 deletions
@@ -305,12 +305,14 @@ export interface QueryEditorProps<
query: TQuery;
onRunQuery: () => void;
onChange: (value: TQuery) => void;
onBlur?: () => void;
/**
* Contains query response filtered by refId of QueryResultBase and possible query error
*/
data?: PanelData;
exploreMode?: ExploreMode;
exploreId?: any;
history?: HistoryItem[];
}
export enum DataSourceStatus {