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 bd3f946..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: [
@@ -73,7 +73,7 @@ export class EICoordinatorComponent implements OnInit {
     ngOnInit() {
         this.eiJobsDataSource.getJobs();
 
-        this.producers$= this.eiProducersDataSource.getProducers();
+        this.producers$= this.eiProducersDataSource.loadProducers();
         this.filteredProducers$ = defer(() => this.formGroup.get("filter")
         .valueChanges.pipe(
             startWith(""),
@@ -149,6 +149,6 @@ export class EICoordinatorComponent implements OnInit {
 
     refreshTables() {
         this.eiJobsDataSource.getJobs();
-        this.eiProducersDataSource.loadTable();
+        this.eiProducersDataSource.loadProducers();
     }
 }