initialize empty variables array in constructor so that datasources can use the array in explore

pull/14434/head
Erik Sundell 7 years ago
parent 260d0189b6
commit 45fbbe8021
  1. 1
      public/app/features/templating/template_srv.ts

@ -17,6 +17,7 @@ export class TemplateSrv {
constructor() {
this.builtIns['__interval'] = { text: '1s', value: '1s' };
this.builtIns['__interval_ms'] = { text: '100', value: '100' };
this.variables = [];
}
init(variables) {

Loading…
Cancel
Save