Skip to content

Commit

Permalink
Merge pull request #35599 from paultsimura/fix/33588-manual-receipt
Browse files Browse the repository at this point in the history
fix: Hide smartScan fields for Scan requests only
  • Loading branch information
youssef-lr authored Feb 6, 2024
2 parents d5a766c + 668431c commit be30bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepConfirmation.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ function IOURequestStepConfirmation({
iouMerchant={transaction.merchant}
iouCreated={transaction.created}
isDistanceRequest={requestType === CONST.IOU.REQUEST_TYPE.DISTANCE}
shouldShowSmartScanFields={_.isEmpty(lodashGet(transaction, 'receipt.source', ''))}
shouldShowSmartScanFields={requestType !== CONST.IOU.REQUEST_TYPE.SCAN}
/>
)}
</View>
Expand Down

0 comments on commit be30bae

Please sign in to comment.