mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(query_part): refactoring query part
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user