mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
InfluxDB ds: Query variable breaks trying to interpolate __interval
(#63682)
This commit is contained in:
parent
98e1aeaebd
commit
ca4cd85504
@ -180,7 +180,7 @@ export default class InfluxDatasource extends DataSourceWithBackend<InfluxQuery,
|
||||
|
||||
applyTemplateVariables(query: InfluxQuery, scopedVars: ScopedVars): Record<string, any> {
|
||||
// We want to interpolate these variables on backend
|
||||
const { __interval, __interval_ms, ...rest } = scopedVars;
|
||||
const { __interval, __interval_ms, ...rest } = scopedVars || {};
|
||||
|
||||
if (this.isFlux) {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user