diff --git a/src/components/ReportActionItem/MoneyRequestView.js b/src/components/ReportActionItem/MoneyRequestView.js index 817c88d456db..a05319c929f9 100644 --- a/src/components/ReportActionItem/MoneyRequestView.js +++ b/src/components/ReportActionItem/MoneyRequestView.js @@ -102,7 +102,7 @@ function MoneyRequestView({report, parentReport, parentReportActions, policyCate cardID: transactionCardID, } = ReportUtils.getTransactionDetails(transaction); const isEmptyMerchant = - transactionMerchant === '' || transactionMerchant === CONST.TRANSACTION.UNKNOWN_MERCHANT || transactionMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT; + transactionMerchant === '' || transactionMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT; const isDistanceRequest = TransactionUtils.isDistanceRequest(transaction); let formattedTransactionAmount = transactionAmount ? CurrencyUtils.convertToDisplayString(transactionAmount, transactionCurrency) : ''; const hasPendingWaypoints = lodashGet(transaction, 'pendingFields.waypoints', null); diff --git a/src/libs/TransactionUtils.ts b/src/libs/TransactionUtils.ts index 232c30658838..4f5610eca686 100644 --- a/src/libs/TransactionUtils.ts +++ b/src/libs/TransactionUtils.ts @@ -131,11 +131,10 @@ function hasReceipt(transaction: Transaction | undefined | null): boolean { function isMerchantMissing(transaction: Transaction) { const isMerchantEmpty = - transaction.merchant === CONST.TRANSACTION.UNKNOWN_MERCHANT || transaction.merchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT || transaction.merchant === ''; + transaction.merchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT || transaction.merchant === ''; const isModifiedMerchantEmpty = !transaction.modifiedMerchant || - transaction.modifiedMerchant === CONST.TRANSACTION.UNKNOWN_MERCHANT || transaction.modifiedMerchant === CONST.TRANSACTION.PARTIAL_TRANSACTION_MERCHANT || transaction.modifiedMerchant === '';