feat(query_part): refactoring query part

This commit is contained in:
Torkel Ödegaard
2016-08-15 17:20:45 +02:00
parent befca9bb2f
commit 1418cbbd8b
9 changed files with 80 additions and 65 deletions

View File

@@ -167,7 +167,7 @@ export class AlertTabCtrl {
addCondition(type) {
var condition = this.buildDefaultCondition();
// add to persited model
this.alert.conditions.push(condition);
this.panelCtrl.conditions.push(condition);
// add to view model
this.conditionModels.push(this.buildConditionModel(condition));
}