Bring back location column

This commit is contained in:
grossmj 2022-07-23 00:32:45 +02:00
parent ff1b991d2a
commit 698ecfa255
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,10 @@
</mat-cell>
</ng-container>
<ng-container matColumnDef="location">
<mat-header-cell *matHeaderCellDef> Location </mat-header-cell>
<mat-cell *matCellDef="let row"> {{ row.location }} </mat-cell>
</ng-container>
<ng-container matColumnDef="ip">
<mat-header-cell *matHeaderCellDef> Host </mat-header-cell>

View File

@ -21,7 +21,7 @@ import { AddControllerDialogComponent } from './add-controller-dialog/add-contro
})
export class ControllersComponent implements OnInit, OnDestroy {
dataSource: ControllerDataSource;
displayedColumns = ['id', 'name', 'ip', 'port', 'actions'];
displayedColumns = ['id', 'name', 'location', 'ip', 'port', 'actions'];
controllerStatusSubscription: Subscription;
isElectronApp: boolean = false;