- <ng-container matColumnDef="totalCount">
- <th mat-header-cell *matHeaderCellDef> Total Count </th>
- <td mat-cell *matCellDef="let monitor"> {{monitor.totalCount}} </td>
+ <ng-container matColumnDef="maxCount">
+ <th mat-header-cell *matHeaderCellDef> Max Count </th>
+ <td mat-cell *matCellDef="let monitor" [ngStyle]="{'color': getColor(monitor.status)}"> {{monitor.maxCount}} </td>
+ </ng-container>
+
+ <ng-container matColumnDef="status">
+ <th mat-header-cell *matHeaderCellDef> Status </th>
+ <td mat-cell *matCellDef="let monitor" [ngStyle]="{'color': getColor(monitor.status)}"> {{monitor.status}}
+ </td>