fix: variable srv addVariable function, only used in tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user