@@ -382,6 +382,8 @@ function MoneyRequestReportPreviewContent({
382382 [ action ?. childStateNum , action ?. childStatusNum , iouReport ?. stateNum , iouReport ?. statusNum , translate ] ,
383383 ) ;
384384
385+ const shouldShowReportStatus = ! ! reportStatus && ! ! expenseCount ;
386+
385387 const reportStatusColorStyle = useMemo (
386388 ( ) => getReportStatusColorStyle ( theme , iouReport ?. stateNum ?? action ?. childStateNum , iouReport ?. statusNum ?? action ?. childStatusNum ) ,
387389 [ action ?. childStateNum , action ?. childStatusNum , iouReport ?. stateNum , iouReport ?. statusNum , theme ] ,
@@ -634,7 +636,7 @@ function MoneyRequestReportPreviewContent({
634636 ) : null ,
635637 [ CONST . REPORT . REPORT_PREVIEW_ACTIONS . VIEW ] : (
636638 < Button
637- text = { shouldShowAccessPlaceHolder ? translate ( 'common.viewReport' ) : translate ( 'common.view' ) }
639+ text = { translate ( 'common.view' ) }
638640 onPress = { ( ) => {
639641 openReportFromPreview ( ) ;
640642 } }
@@ -735,9 +737,10 @@ function MoneyRequestReportPreviewContent({
735737 { showStatusAndSkeleton && shouldShowSkeleton ? (
736738 < MoneyReportHeaderStatusBarSkeleton />
737739 ) : (
738- ( ! shouldShowEmptyPlaceholder || shouldShowAccessPlaceHolder ) && (
740+ ( ! shouldShowEmptyPlaceholder || shouldShowAccessPlaceHolder ) &&
741+ ( shouldShowReportStatus || ! shouldShowAccessPlaceHolder ) && (
739742 < View style = { [ styles . flexRow , styles . justifyContentStart , styles . alignItemsCenter ] } >
740- { ! ! reportStatus && ! ! expenseCount && (
743+ { shouldShowReportStatus && (
741744 < View
742745 style = { [
743746 styles . reportStatusContainer ,
0 commit comments