initialize empty variables array in constructor so that datasources can use the array in explore
This commit is contained in:
1 parent
260d0189b6
commit
45fbbe8021
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user