Errored downloads now display their stage as "Error" in the UI

This commit is contained in:
Isaac Abadi
2023-05-21 19:47:21 -06:00
parent 461025d859
commit bd100544d7

View File

@@ -34,7 +34,10 @@
<!-- Stage Column -->
<ng-container matColumnDef="step_index">
<mat-header-cell *matHeaderCellDef mat-sort-header> <ng-container i18n="Stage">Stage</ng-container> </mat-header-cell>
<mat-cell *matCellDef="let element"> {{STEP_INDEX_TO_LABEL[element.step_index]}} </mat-cell>
<mat-cell *matCellDef="let element">
<ng-container *ngIf="!element.error">{{STEP_INDEX_TO_LABEL[element.step_index]}}</ng-container>
<ng-container *ngIf="element.error" i18n="Error">Error</ng-container>
</mat-cell>
</ng-container>
<!-- Progress Column -->