Skip to content

Commit

Permalink
add last sync field to application tiles (#13184)
Browse files Browse the repository at this point in the history
Signed-off-by: Regina Scott <rescott@redhat.com>
  • Loading branch information
reginapizza authored Apr 26, 2023
1 parent 238c104 commit daae5ef
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ export const ApplicationTiles = ({applications, syncApplication, refreshApplicat
</div>
<div className='columns small-9'>{AppUtils.formatCreationTimestamp(app.metadata.creationTimestamp)}</div>
</div>
{app.status.operationState && (
<div className='row'>
<div className='columns small-3' title='Last sync:'>
Last Sync:
</div>
<div className='columns small-9'>
{AppUtils.formatCreationTimestamp(app.status.operationState.finishedAt || app.status.operationState.startedAt)}
</div>
</div>
)}
<div className='row'>
<div className='columns applications-list__entry--actions'>
<a
Expand Down

0 comments on commit daae5ef

Please sign in to comment.