From 513b612d7d18b501c39f5359d41a41821a636a16 Mon Sep 17 00:00:00 2001 From: Agata Kosior Date: Fri, 29 Dec 2023 09:42:39 +0100 Subject: [PATCH] fix: do not show merchant on scan request --- .../MoneyTemporaryForRefactorRequestConfirmationList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js b/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js index 8eef1148ca74..dab34e324ffa 100755 --- a/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js +++ b/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js @@ -296,7 +296,7 @@ function MoneyTemporaryForRefactorRequestConfirmationList({ }, [isEditingSplitBill, hasSmartScanFailed, transaction, didConfirmSplit]); const isMerchantEmpty = !iouMerchant || iouMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT; - const isMerchantRequired = isPolicyExpenseChat && !isScanRequest; + const isMerchantRequired = isPolicyExpenseChat && !isScanRequest && shouldShowMerchant; useEffect(() => { if ((!isMerchantRequired && isMerchantEmpty) || !merchantError) {