mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: variable srv addVariable function, only used in tests
This commit is contained in:
parent
787fea90b9
commit
d085aaad41
@ -92,7 +92,7 @@ export class VariableSrv {
|
||||
|
||||
addVariable(model) {
|
||||
var variable = this.createVariableFromModel(model);
|
||||
this.variables.push(this.createVariableFromModel(variable));
|
||||
this.variables.push(variable);
|
||||
return variable;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user