From 3472ec10339b4c6f2bc7a22ede8492c8940e045d Mon Sep 17 00:00:00 2001 From: cooldev900 Date: Thu, 26 Oct 2023 06:28:30 -0500 Subject: [PATCH 1/2] fix: show amount in confirmation page --- src/components/MoneyRequestConfirmationList.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/MoneyRequestConfirmationList.js b/src/components/MoneyRequestConfirmationList.js index 0b266351a60c7..e1f51bb918ba4 100755 --- a/src/components/MoneyRequestConfirmationList.js +++ b/src/components/MoneyRequestConfirmationList.js @@ -321,6 +321,9 @@ function MoneyRequestConfirmationList(props) { text = translate('iou.split'); } else if ((props.receiptPath && isTypeRequest) || isDistanceRequestWithoutRoute) { text = translate('iou.request'); + if (props.iouAmount !== 0) { + text = translate('iou.requestAmount', { amount: formattedAmount }); + } } else { const translationKey = isSplitBill ? 'iou.splitAmount' : 'iou.requestAmount'; text = translate(translationKey, {amount: formattedAmount}); From 096f0d2f6583b8e0516e5d52c11dfe32551828bb Mon Sep 17 00:00:00 2001 From: cooldev900 Date: Fri, 27 Oct 2023 17:33:25 -0500 Subject: [PATCH 2/2] fix: prettier linting --- src/components/MoneyRequestConfirmationList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MoneyRequestConfirmationList.js b/src/components/MoneyRequestConfirmationList.js index e1f51bb918ba4..83f2446686c98 100755 --- a/src/components/MoneyRequestConfirmationList.js +++ b/src/components/MoneyRequestConfirmationList.js @@ -322,7 +322,7 @@ function MoneyRequestConfirmationList(props) { } else if ((props.receiptPath && isTypeRequest) || isDistanceRequestWithoutRoute) { text = translate('iou.request'); if (props.iouAmount !== 0) { - text = translate('iou.requestAmount', { amount: formattedAmount }); + text = translate('iou.requestAmount', {amount: formattedAmount}); } } else { const translationKey = isSplitBill ? 'iou.splitAmount' : 'iou.requestAmount';