From 5afb9445d740a211e9a9e153890eb9783e82e285 Mon Sep 17 00:00:00 2001 From: Hamed Valiollahi Bayeki Date: Fri, 12 Jan 2024 11:39:25 -0800 Subject: [PATCH] fix: correct labels in transfer confirmation modal --- .../src/credit_transfers/CreditTransferViewContainer.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/credit_transfers/CreditTransferViewContainer.js b/frontend/src/credit_transfers/CreditTransferViewContainer.js index 0422fc198..904e9bb9f 100644 --- a/frontend/src/credit_transfers/CreditTransferViewContainer.js +++ b/frontend/src/credit_transfers/CreditTransferViewContainer.js @@ -524,13 +524,12 @@ class CreditTransferViewContainer extends Component { }} id="confirmRecommend" key="confirmRecommend" - confirmLabel="Recommend issuance" + confirmLabel="Recommend recording transfer" cancelLabel="Cancel" > - Are you sure you want to recommend issuance of compliance units for this {[CREDIT_TRANSFER_TYPES.buy.id, CREDIT_TRANSFER_TYPES.sell.id].indexOf(item.type.id) >= 0 - ? ' transfer' - : ' Initiative Agreement'}? + ? 'Are you sure you want to recommend recording this transfer?' + : 'Are you sure you want to recommend issuance of compliance units for this Initiative Agreement?'} ) }