Skip to content

Commit

Permalink
Merge pull request #44973 from ShridharGoel/patch-9
Browse files Browse the repository at this point in the history
Fix missing title and details in report details page

(cherry picked from commit 9d452e1)
  • Loading branch information
Julesssss authored and OSBotify committed Jul 8, 2024
1 parent 87c126a commit bf12704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/ReportDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -645,10 +645,10 @@ function ReportDetailsPage({policies, report, session, personalDetails}: ReportD
<ScrollView style={[styles.flex1]}>
<View style={[styles.reportDetailsTitleContainer, styles.pb0]}>
{renderedAvatar}
{isExpenseReport && !shouldShowTitleField && nameSectionExpenseIOU}
{isExpenseReport && (!shouldShowTitleField || !titleField) && nameSectionExpenseIOU}
</View>

{isExpenseReport && shouldShowTitleField && nameSectionTitleField}
{isExpenseReport && shouldShowTitleField && titleField && nameSectionTitleField}

{!isExpenseReport && nameSectionGroupWorkspace}

Expand Down

0 comments on commit bf12704

Please sign in to comment.