Merge "Fix get rics for no type"
[portal/nonrtric-controlpanel.git] / 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({