mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Flux: use monaco query editor (#26179)
This commit is contained in:
@@ -62,6 +62,13 @@ export default class InfluxDatasource extends DataSourceWithBackend<InfluxQuery,
|
||||
return from(this.classicQuery(request));
|
||||
}
|
||||
|
||||
getQueryDisplayText(query: InfluxQuery) {
|
||||
if (this.is2x) {
|
||||
return query.query;
|
||||
}
|
||||
return new InfluxQueryModel(query).render(false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Only applied on flux queries
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user