Bug fix
This commit is contained in:
parent
326d6f8044
commit
c1d9a4e730
@ -1705,10 +1705,9 @@
|
|||||||
const floData = getRef('flo_data_textarea').value.trim();
|
const floData = getRef('flo_data_textarea').value.trim();
|
||||||
const selectedToken = document.getElementById('sender_tokens_wrapper').querySelector('input[type="radio"]:checked')
|
const selectedToken = document.getElementById('sender_tokens_wrapper').querySelector('input[type="radio"]:checked')
|
||||||
const tokenAmount = parseFloat(getRef('tx_token_amount').value.trim())
|
const tokenAmount = parseFloat(getRef('tx_token_amount').value.trim())
|
||||||
const tokenName = selectedToken.value
|
|
||||||
getConfirmation(`Confirm transaction`, {
|
getConfirmation(`Confirm transaction`, {
|
||||||
message: `
|
message: `
|
||||||
Sending ${floAmount} FLO ${tokenName !== 'none' ? ` and ${tokenAmount} ${tokenName}` : ''} to ${receiver}
|
Sending ${floAmount} FLO ${selectedToken && selectedToken.value !== 'none' ? ` and ${tokenAmount} ${selectedToken.value}` : ''} to ${receiver}
|
||||||
`,
|
`,
|
||||||
confirmText: 'Send',
|
confirmText: 'Send',
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user