fix(templating): fixed issue when adding template variable, fixes #6622

This commit is contained in:
Torkel Ödegaard
2016-11-17 11:28:33 +01:00
parent 196fdbfd31
commit eafe0d6bfa
12 changed files with 17 additions and 21 deletions

View File

@@ -30,7 +30,7 @@ export class DatasourceVariable implements Variable {
this.refresh = 1;
}
getModel() {
getSaveModel() {
assignModelProperties(this.model, this, this.defaults);
return this.model;
}