support-multiple-ric-instances
[portal/ric-dashboard.git] / webapp-frontend / src / app / ran-control / ran-control.datasource.ts
index b23a3cd..503f459 100644 (file)
@@ -43,9 +43,9 @@ export class RANControlDataSource extends DataSource<E2RanDetails> {
     super();
   }
 
-  loadTable() {
+  loadTable(instanceKey: string) {
     this.loadingSubject.next(true);
-    this.e2MgrSvcservice.getRan()
+    this.e2MgrSvcservice.getRan(instanceKey)
       .pipe(
         catchError( (her: HttpErrorResponse) => {
           console.log('RANControlDataSource failed: ' + her.message);