Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Correct labels transfer confirmation - 2789 #2794

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions frontend/src/credit_transfers/CreditTransferViewContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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?'}
</Modal>
)
}
Expand Down