Skip to content

Commit

Permalink
Merge pull request Expensify#44605 from etCoderDysto/scanningRegression
Browse files Browse the repository at this point in the history
fix: "Scanning" appears in Description field
  • Loading branch information
Julesssss authored Jun 28, 2024
2 parents cb8fce8 + 26b2792 commit 0c8bae5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function MerchantCell({transactionItem, showTooltip, isLargeScreenWidth}: Transa
const description = TransactionUtils.getDescription(transactionItem);
let merchant = transactionItem.shouldShowMerchant ? transactionItem.formattedMerchant : description;

if (TransactionUtils.hasReceipt(transactionItem) && TransactionUtils.isReceiptBeingScanned(transactionItem)) {
if (TransactionUtils.hasReceipt(transactionItem) && TransactionUtils.isReceiptBeingScanned(transactionItem) && transactionItem.shouldShowMerchant) {
merchant = translate('iou.receiptStatusTitle');
}

Expand Down

0 comments on commit 0c8bae5

Please sign in to comment.