Merge "BugFix - Enable Controlpanel to start even when gateway is Unavailable"
diff --git a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
index 00ce9ad..1b16b30 100644
--- a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
+++ b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
@@ -31,8 +31,8 @@
<h4>Producers</h4>
<div class="table-container">
- <mat-table #producersTable [dataSource]="producersDataSource" matSort class="mat-elevation-z8">
-
+ <mat-table #producersTable [dataSource]="producersDataSource"
+ matSort class="ei-coordinator-table mat-elevation-z8">
<ng-container matColumnDef="id">
<mat-header-cell *matHeaderCellDef>
<form style="display: flex" [formGroup]="producersFormControl">
@@ -85,7 +85,7 @@
<h4>Jobs</h4>
<div class="table-container">
- <mat-table [dataSource]="jobsDataSource"
+ <mat-table #jobsTable [dataSource]="jobsDataSource"
matSort class="ei-coordinator-table mat-elevation-z8">
<ng-container matColumnDef="id">
<mat-header-cell *matHeaderCellDef>
diff --git a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts
index fbd0be6..45c5d3d 100644
--- a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts
+++ b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts
@@ -182,6 +182,8 @@
refreshTables() {
this.eiJobsDataSource.loadJobs();
+ this.jobsDataSource.data = this.eiJobsDataSource.eiJobs();
this.eiProducersDataSource.loadProducers();
+ this.producersDataSource.data = this.eiProducersDataSource.eiProducers();
}
}