From 7dab19b9d1c346592d9627734675499547ea0ce3 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Tue, 22 Aug 2023 00:03:47 +0530 Subject: [PATCH] crash bill --- src/components/ReportActionItem/MoneyRequestAction.js | 2 +- src/libs/TransactionUtils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ReportActionItem/MoneyRequestAction.js b/src/components/ReportActionItem/MoneyRequestAction.js index da361b5540db..c8a18da2ac03 100644 --- a/src/components/ReportActionItem/MoneyRequestAction.js +++ b/src/components/ReportActionItem/MoneyRequestAction.js @@ -132,7 +132,7 @@ function MoneyRequestAction(props) { props.action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD && props.network.isOffline ) { - shouldShowPendingConversionMessage = IOUUtils.isIOUReportPendingCurrencyConversion(props.reportActions, props.iouReport); + shouldShowPendingConversionMessage = IOUUtils.isIOUReportPendingCurrencyConversion(props.iouReport); } return isDeletedParentAction ? ( diff --git a/src/libs/TransactionUtils.js b/src/libs/TransactionUtils.js index a995769eebe0..86cf847b6e73 100644 --- a/src/libs/TransactionUtils.js +++ b/src/libs/TransactionUtils.js @@ -15,7 +15,7 @@ Onyx.connect({ if (!val) { return; } - allTransactions = val; + allTransactions = _.pick(val, (val) => val); }, });