X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fpolicy%2Fric-selector%2Fric-selector.component.ts;h=fec3d8a022ac7f0089f0858e54bcf32c8eb2c89f;hb=HEAD;hp=bfa9d9799311c1ab323d7b125b43a367817b32a1;hpb=ae54b92e9c8d621d9e3907bbe7c0b56b2c778d8d;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/policy/ric-selector/ric-selector.component.ts b/webapp-frontend/src/app/policy/ric-selector/ric-selector.component.ts index bfa9d97..fec3d8a 100644 --- a/webapp-frontend/src/app/policy/ric-selector/ric-selector.component.ts +++ b/webapp-frontend/src/app/policy/ric-selector/ric-selector.component.ts @@ -65,14 +65,13 @@ export class RicSelectorComponent implements OnInit { } private fetchRics() { - console.log("fetchRics ", this.policyTypeName); + if (!this.policyTypeName) this.policyTypeName = ""; const self: RicSelectorComponent = this; this.dataService.getRics(this.policyTypeName).subscribe({ next(value: Rics) { value.rics.forEach((ric) => { self.allRics.push(ric.ric_id); }); - console.log(value); }, }); }