summaryrefslogtreecommitdiffstats
path: root/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
diff options
context:
space:
mode:
authortang peng <tang.peng5@zte.com.cn>2018-07-30 23:57:59 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-30 23:57:59 +0000
commitda9261d9d5ed404ed030918238feaab0dd54fcc1 (patch)
tree5607167377b6f2269f581cb3fcc45a627d2bd38e /rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
parent18152dddbb79a461064561b00c71d6fe01f00972 (diff)
parent9c89d648ca92eccc3a1d6d867eb6188c725f698e (diff)
Merge "Fixed some field names"
Diffstat (limited to 'rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts')
-rw-r--r--rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
index 6273e9a..6a3ea0a 100644
--- a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
+++ b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts
@@ -39,7 +39,7 @@ export class AlarmRule implements OnInit {
model: any;
ruleRequest: RuleRequest;
solution = 'ANGULAR';
- selection = 'A'
+ selection = 'A';
activeStatus = ["option_all", "common_enabled", "common_disabled"];
constructor(public _alarmRuleService: AlarmRuleService, private modalService: ModalService,
@@ -76,7 +76,7 @@ export class AlarmRule implements OnInit {
return this._alarmRuleService
.getRules()
.then(rules => {
- this.rules = rules.rules;
+ this.rules = rules.correlationRules;
this.totalcount = rules.totalcount;
});
}