Fix get rics for no type 24/5824/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 30 Mar 2021 13:23:52 +0000 (15:23 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 30 Mar 2021 13:23:56 +0000 (15:23 +0200)
Change-Id: Ie707ca9acc3056bca871a3752dccfee414d093bc
Issue-ID: NONRTRIC-456
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
webapp-frontend/src/app/policy/ric-selector/ric-selector.component.ts

index bfa9d97..6b502c6 100644 (file)
@@ -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({