From ee55924fe2507665d86b088e285f6578c582f5cd Mon Sep 17 00:00:00 2001 From: Regina Scott Date: Tue, 18 Apr 2023 12:00:50 -0400 Subject: [PATCH] add last sync field to application tiles Signed-off-by: Regina Scott --- .../applications-list/applications-tiles.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ui/src/app/applications/components/applications-list/applications-tiles.tsx b/ui/src/app/applications/components/applications-list/applications-tiles.tsx index c07f3b156b133..7665c472e80b1 100644 --- a/ui/src/app/applications/components/applications-list/applications-tiles.tsx +++ b/ui/src/app/applications/components/applications-list/applications-tiles.tsx @@ -258,6 +258,16 @@ export const ApplicationTiles = ({applications, syncApplication, refreshApplicat
{AppUtils.formatCreationTimestamp(app.metadata.creationTimestamp)}
+ {app.status.operationState && ( +
+
+ Last Sync: +
+
+ {AppUtils.formatCreationTimestamp(app.status.operationState.finishedAt || app.status.operationState.startedAt)} +
+
+ )}