Commit d085aaad by Torkel Ödegaard

fix: variable srv addVariable function, only used in tests

parent 787fea90
......@@ -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;
}
......
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