From bf127047637a6a3954af460b68e628f42a52dfee Mon Sep 17 00:00:00 2001 From: Jules Date: Mon, 8 Jul 2024 15:54:30 +0100 Subject: [PATCH] Merge pull request #44973 from ShridharGoel/patch-9 Fix missing title and details in report details page (cherry picked from commit 9d452e1d596c7aca442e927eaf007451422845ca) --- src/pages/ReportDetailsPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/ReportDetailsPage.tsx b/src/pages/ReportDetailsPage.tsx index c6e25bcaa70a..aedeb9215e03 100644 --- a/src/pages/ReportDetailsPage.tsx +++ b/src/pages/ReportDetailsPage.tsx @@ -645,10 +645,10 @@ function ReportDetailsPage({policies, report, session, personalDetails}: ReportD {renderedAvatar} - {isExpenseReport && !shouldShowTitleField && nameSectionExpenseIOU} + {isExpenseReport && (!shouldShowTitleField || !titleField) && nameSectionExpenseIOU} - {isExpenseReport && shouldShowTitleField && nameSectionTitleField} + {isExpenseReport && shouldShowTitleField && titleField && nameSectionTitleField} {!isExpenseReport && nameSectionGroupWorkspace}