Merge pull request #98 from ryck/feature/add-last-updated-time

Add timestamp to last updated
pull/104/head
Jason Kulatunga 4 years ago committed by GitHub
commit c1aaf67152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,7 +69,7 @@
class="font-bold text-md text-secondary uppercase tracking-wider">{{deviceTitle(disk)}}</a> class="font-bold text-md text-secondary uppercase tracking-wider">{{deviceTitle(disk)}}</a>
<div [ngClass]="{'text-green': disk.smart_results[0]?.smart_status == 'passed', <div [ngClass]="{'text-green': disk.smart_results[0]?.smart_status == 'passed',
'text-red': disk.smart_results[0]?.smart_status == 'failed' }" class="font-medium text-sm" *ngIf="disk.smart_results[0]"> 'text-red': disk.smart_results[0]?.smart_status == 'failed' }" class="font-medium text-sm" *ngIf="disk.smart_results[0]">
Last Updated on {{disk.smart_results[0]?.date | date:'MMMM dd, yyyy' }} Last Updated on {{disk.smart_results[0]?.date | date:'MMMM dd, yyyy - HH:mm' }}
</div> </div>
</div> </div>
<div class="ml-auto" *ngIf="disk.smart_results"> <div class="ml-auto" *ngIf="disk.smart_results">

Loading…
Cancel
Save