Skip to content

Commit

Permalink
don't show date if the job isn't done (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwradcliffe authored Sep 8, 2024
1 parent 4a82064 commit 1b3a923
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ <h4 class="card-title">Background Job History</h4>
'badge-danger': backgroundJob.job_status == 'STATUS_FAILED'
}">{{backgroundJob.job_status}}</label></td>
<td container="body" [ngbTooltip]="backgroundJob.locked_time | amDateFormat:'YYYY-MM-DD HH:mm'">{{backgroundJob.locked_time | amTimeAgo}}</td>
<td container="body" [ngbTooltip]="backgroundJob.done_time | amDateFormat:'YYYY-MM-DD HH:mm'">{{backgroundJob.done_time | amTimeAgo}}</td>
<td container="body">
<span *ngIf="backgroundJob.done_time" [ngbTooltip]="backgroundJob.done_time | amDateFormat:'YYYY-MM-DD HH:mm'">{{backgroundJob.done_time | amTimeAgo}}</span>
</td>
<td>
<button (click)="openModal(content, backgroundJob)" class="btn btn-outline-indigo btn-with-icon btn-rounded"><i class="fa fa-info-circle"></i> Details</button>
</td>
Expand Down

0 comments on commit 1b3a923

Please sign in to comment.