Skip to content

Commit

Permalink
Merge pull request #27753 from tienifr/fix/26939
Browse files Browse the repository at this point in the history
  • Loading branch information
cead22 authored Sep 22, 2023
2 parents 2a5ea63 + 013b314 commit bfb9ae8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ReportActionItem/MoneyRequestPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import * as DeviceCapabilities from '../../libs/DeviceCapabilities';
import reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';
import {showContextMenuForReport} from '../ShowContextMenuContext';
import * as OptionsListUtils from '../../libs/OptionsListUtils';
import * as ReportActionsUtils from '../../libs/ReportActionsUtils';
import * as CurrencyUtils from '../../libs/CurrencyUtils';
import * as IOUUtils from '../../libs/IOUUtils';
import * as ReportUtils from '../../libs/ReportUtils';
Expand Down Expand Up @@ -239,7 +240,9 @@ function MoneyRequestPreview(props) {
isHovered={isScanning}
/>
)}
{_.isEmpty(props.transaction) ? (
{_.isEmpty(props.transaction) &&
!ReportActionsUtils.isMessageDeleted(props.action) &&
lodashGet(props.action, 'pendingAction') !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE ? (
<MoneyRequestSkeletonView />
) : (
<View style={styles.moneyRequestPreviewBoxText}>
Expand Down

0 comments on commit bfb9ae8

Please sign in to comment.