diff --git a/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx b/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx index d6dd3d2bcc53..fc6255f2a5f9 100644 --- a/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx +++ b/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx @@ -206,6 +206,15 @@ function MoneyRequestReportView({report, policy, reportMetadata, shouldDisplayRe return ( + + + {reportHeaderView} + - - {reportHeaderView} {shouldDisplayMoneyRequestActionsList ? ( ): ReportOfflinePendingActionAndErrors { // It shouldn't be possible for all of these actions to be pending (or to have errors) for the same report at the same time, so just take the first that exists - const reportPendingAction = - report?.pendingFields?.addWorkspaceRoom ?? - report?.pendingFields?.createChat ?? - report?.pendingFields?.reimbursed ?? - report?.pendingFields?.createReport ?? - report?.pendingFields?.reportName; + const reportPendingAction = report?.pendingFields?.addWorkspaceRoom ?? report?.pendingFields?.createChat ?? report?.pendingFields?.createReport ?? report?.pendingFields?.reportName; const reportErrors = getCreationReportErrors(report); return {reportPendingAction, reportErrors}; } diff --git a/src/pages/home/ReportScreen.tsx b/src/pages/home/ReportScreen.tsx index 4257dff47b97..65abac82624c 100644 --- a/src/pages/home/ReportScreen.tsx +++ b/src/pages/home/ReportScreen.tsx @@ -952,7 +952,7 @@ function ReportScreen({route, navigation}: ReportScreenProps) { >