@@ -384,6 +384,8 @@ function MoneyRequestReportPreviewContent({
384384 [ action ?. childStateNum , action ?. childStatusNum , iouReport ?. stateNum , iouReport ?. statusNum , translate ] ,
385385 ) ;
386386
387+ const shouldShowReportStatus = ! ! reportStatus && ! ! expenseCount ;
388+
387389 const reportStatusColorStyle = useMemo (
388390 ( ) => getReportStatusColorStyle ( theme , iouReport ?. stateNum ?? action ?. childStateNum , iouReport ?. statusNum ?? action ?. childStatusNum ) ,
389391 [ action ?. childStateNum , action ?. childStatusNum , iouReport ?. stateNum , iouReport ?. statusNum , theme ] ,
@@ -643,7 +645,7 @@ function MoneyRequestReportPreviewContent({
643645 ) : null ,
644646 [ CONST . REPORT . REPORT_PREVIEW_ACTIONS . VIEW ] : (
645647 < Button
646- text = { shouldShowAccessPlaceHolder ? translate ( 'common.viewReport' ) : translate ( 'common.view' ) }
648+ text = { translate ( 'common.view' ) }
647649 onPress = { ( ) => {
648650 openReportFromPreview ( ) ;
649651 } }
@@ -744,9 +746,10 @@ function MoneyRequestReportPreviewContent({
744746 { showStatusAndSkeleton && shouldShowSkeleton ? (
745747 < MoneyReportHeaderStatusBarSkeleton />
746748 ) : (
747- ( ! shouldShowEmptyPlaceholder || shouldShowAccessPlaceHolder ) && (
749+ ( ! shouldShowEmptyPlaceholder || shouldShowAccessPlaceHolder ) &&
750+ ( shouldShowReportStatus || ! shouldShowAccessPlaceHolder ) && (
748751 < View style = { [ styles . flexRow , styles . justifyContentStart , styles . alignItemsCenter ] } >
749- { ! ! reportStatus && ! ! expenseCount && (
752+ { shouldShowReportStatus && (
750753 < View
751754 style = { [
752755 styles . reportStatusContainer ,
0 commit comments