Commit 45fbbe80 by Erik Sundell

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

parent 260d0189
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment