Fix the Nginx conf to start even when Upstream is unavailable
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / ei-coordinator / ei-coordinator.component.ts
index 90dfef1..2789114 100644 (file)
@@ -38,7 +38,7 @@ class EIJobInfo {
 }
 
 @Component({
-    selector: 'rd-ei-coordinator',
+    selector: 'nrcp-ei-coordinator',
     templateUrl: './ei-coordinator.component.html',
     styleUrls: ['./ei-coordinator.component.scss'],
     animations: [
@@ -71,9 +71,9 @@ export class EICoordinatorComponent implements OnInit {
         }
 
     ngOnInit() {
-        this.eiJobsDataSource.loadTable();
+        this.eiJobsDataSource.getJobs();
 
-        this.producers$= this.eiProducersDataSource.getProducers();
+        this.producers$= this.eiProducersDataSource.loadProducers();
         this.filteredProducers$ = defer(() => this.formGroup.get("filter")
         .valueChanges.pipe(
             startWith(""),
@@ -148,7 +148,7 @@ export class EICoordinatorComponent implements OnInit {
     }
 
     refreshTables() {
-        this.eiJobsDataSource.loadTable();
-        this.eiProducersDataSource.loadTable();
+        this.eiJobsDataSource.getJobs();
+        this.eiProducersDataSource.loadProducers();
     }
 }