Skip to content

Commit

Permalink
Merge pull request Expensify#47779 from etCoderDysto/grayout-amount
Browse files Browse the repository at this point in the history
fix: Gray out amount filed when distance rate is changed
  • Loading branch information
johnmlee101 committed Aug 26, 2024
2 parents e9f8051 + 0404bf1 commit 1451ef1
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 @@ -523,7 +523,7 @@ function MoneyRequestView({
)}
{!shouldShowReceiptEmptyState && !hasReceipt && <View style={{marginVertical: 6}} />}
{shouldShowAuditMessage && <ReceiptAuditMessages notes={receiptImageViolations} />}
<OfflineWithFeedback pendingAction={getPendingFieldAction('amount')}>
<OfflineWithFeedback pendingAction={getPendingFieldAction('amount') ?? (amountTitle ? getPendingFieldAction('customUnitRateID') : undefined)}>
<MenuItemWithTopDescription
title={amountTitle}
shouldShowTitleIcon={isSettled}
Expand Down

0 comments on commit 1451ef1

Please sign in to comment.