X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt-frontend%2Fsrc%2Fapp%2Fcorrelation-ruleList%2FalarmRule.component.ts;h=6a3ea0a18fc82ee49bdf9ee80297a321a2d59472;hb=9c89d648ca92eccc3a1d6d867eb6188c725f698e;hp=6273e9a1d19d7496c0a036214153cb31ed5780a5;hpb=9641db2d3adc51c2a29f49ed77cbd66f37fa42cb;p=holmes%2Frule-management.git 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; }); }