From 826d7822e0ad9642a54af9fceccaa0da445bc892 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Tue, 11 Jun 2024 09:36:29 +0100 Subject: [PATCH] Fix tooltip for last updated date in projects list (#18715) GitOrigin-RevId: 55feb364a108397a672cb7c118805988f3335e69 --- .../components/table/cells/last-updated-by.tsx | 4 ++-- .../components/table/cells/last-updated-cell.tsx | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/services/web/frontend/js/features/project-list/components/table/cells/last-updated-by.tsx b/services/web/frontend/js/features/project-list/components/table/cells/last-updated-by.tsx index 1d5aa5c0ea..18a029a70e 100644 --- a/services/web/frontend/js/features/project-list/components/table/cells/last-updated-by.tsx +++ b/services/web/frontend/js/features/project-list/components/table/cells/last-updated-by.tsx @@ -12,11 +12,11 @@ export const LastUpdatedBy: FC<{ const userName = getUserName(lastUpdatedBy) return ( - + <> {t('last_updated_date_by_x', { lastUpdatedDate, person: userName === 'You' ? t('you') : userName, })} - + ) } diff --git a/services/web/frontend/js/features/project-list/components/table/cells/last-updated-cell.tsx b/services/web/frontend/js/features/project-list/components/table/cells/last-updated-cell.tsx index f44021ba34..953a3c572c 100644 --- a/services/web/frontend/js/features/project-list/components/table/cells/last-updated-cell.tsx +++ b/services/web/frontend/js/features/project-list/components/table/cells/last-updated-cell.tsx @@ -19,10 +19,12 @@ export default function LastUpdatedCell({ project }: LastUpdatedCellProps) { overlayProps={{ placement: 'top', trigger: ['hover', 'focus'] }} > {project.lastUpdatedBy ? ( - + + + ) : ( {lastUpdatedDate} )}