QueryRunners: Bind the query function where it is passed on (#73399)

This commit is contained in:
Andrej Ocenas
2023-09-18 17:00:43 +02:00
committed by GitHub
parent 0815d7f627
commit f6f47678a4
9 changed files with 4 additions and 12 deletions

View File

@ -22,7 +22,6 @@ export class VariableSupport extends CustomVariableSupport<DataSource, AzureMoni
constructor(private readonly datasource: DataSource) {
super();
this.datasource = datasource;
this.query = this.query.bind(this);
this.templateSrv = getTemplateSrv();
}