Skip to content

Commit 5b1ee3f

Browse files
authored
Merge pull request #52279 from FitseTLT/fix-double-graying-out-map-pending-view
Fix - Distance-Distance receipt placeholder icon is hardly visible when expense is submitted offline
2 parents 26bae60 + ba3f848 commit 5b1ee3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ReportActionItem/MoneyRequestView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
447447
)}
448448
{(hasReceipt || !!errors) && (
449449
<OfflineWithFeedback
450-
pendingAction={pendingAction}
450+
pendingAction={isDistanceRequest ? getPendingFieldAction('waypoints') : getPendingFieldAction('receipt')}
451451
errors={errors}
452452
errorRowStyles={[styles.mh4]}
453453
onClose={() => {

0 commit comments

Comments
 (0)