Skip to content

Commit

Permalink
Merge pull request #52279 from FitseTLT/fix-double-graying-out-map-pe…
Browse files Browse the repository at this point in the history
…nding-view

Fix - Distance-Distance receipt placeholder icon is hardly visible when expense is submitted offline
  • Loading branch information
puneetlath authored Nov 11, 2024
2 parents 26bae60 + ba3f848 commit 5b1ee3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ReportActionItem/MoneyRequestView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ function MoneyRequestView({report, shouldShowAnimatedBackground, readonly = fals
)}
{(hasReceipt || !!errors) && (
<OfflineWithFeedback
pendingAction={pendingAction}
pendingAction={isDistanceRequest ? getPendingFieldAction('waypoints') : getPendingFieldAction('receipt')}
errors={errors}
errorRowStyles={[styles.mh4]}
onClose={() => {
Expand Down

0 comments on commit 5b1ee3f

Please sign in to comment.