From: elinuxhenrik Date: Tue, 30 Mar 2021 13:23:52 +0000 (+0200) Subject: Fix get rics for no type X-Git-Tag: 2.2.0~43^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f4b78deddb07a1832b7445911588c830d01222b8;hp=4e4cb3f185fd507708266621227326fdce816a47;p=portal%2Fnonrtric-controlpanel.git Fix get rics for no type Change-Id: Ie707ca9acc3056bca871a3752dccfee414d093bc Issue-ID: NONRTRIC-456 Signed-off-by: elinuxhenrik --- 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..6b502c6 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,6 +65,7 @@ export class RicSelectorComponent implements OnInit { } private fetchRics() { + if (!this.policyTypeName) this.policyTypeName = ""; console.log("fetchRics ", this.policyTypeName); const self: RicSelectorComponent = this; this.dataService.getRics(this.policyTypeName).subscribe({