Merge "Fix get rics for no type"
authorPatrik Buhr <patrik.buhr@est.tech>
Tue, 6 Apr 2021 06:58:53 +0000 (06:58 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Tue, 6 Apr 2021 06:58:53 +0000 (06:58 +0000)
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({