Merge remote-tracking branch 'origin/release-9.0' into chore/merge-9-into-10-20240404
This commit is contained in:
commit
1ec06cb750
4 changed files with 4 additions and 5 deletions
|
|
@ -1,5 +1,3 @@
|
|||
const {AUTH_METHODS} = require('./compliance-triggers')
|
||||
|
||||
const _ = require('lodash/fp')
|
||||
const { validate } = require('uuid')
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ const GET_TRANSACTIONS = gql`
|
|||
customerIdCardPhotoPath
|
||||
customerFrontCameraPath
|
||||
customerPhone
|
||||
customerEmail
|
||||
discount
|
||||
customerId
|
||||
isAnonymous
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
.minus(cashInFee)
|
||||
.toFixed(2, 1) // ROUND_DOWN
|
||||
const crypto = getCryptoAmount(tx)
|
||||
const cryptoFee = getCryptoFeeAmount(tx)
|
||||
const cryptoFee = tx.fee ? `${getCryptoFeeAmount(tx)} ${tx.fiatCode}` : 'N/A'
|
||||
const exchangeRate = BigNumber(fiat)
|
||||
.div(crypto)
|
||||
.toFixed(2, 1) // ROUND_DOWN
|
||||
|
|
@ -382,7 +382,7 @@ const DetailsRow = ({ it: tx, timezone }) => {
|
|||
{tx.txClass === 'cashIn' && (
|
||||
<div className={classes.blockFee}>
|
||||
<Label>Network Fee</Label>
|
||||
{cryptoFee} {tx.fiatCode}
|
||||
{cryptoFee}
|
||||
</div>
|
||||
)}
|
||||
<div className={classes.sessionId}>
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ const getElements = (cryptoCurrencies, accounts, onChange, wizard = false) => {
|
|||
const widthAdjust = wizard ? 11 : 0
|
||||
const viewCryptoCurrency = it => {
|
||||
const currencyDisplay = R.compose(
|
||||
it => `${R.prop(['display'])(it)} ${it.isBeta ? '(Beta)' : ''}`,
|
||||
it => `${R.prop(['display'])(it)} ${it?.isBeta ? '(Beta)' : ''}`,
|
||||
R.find(R.propEq('code', it))
|
||||
)(cryptoCurrencies)
|
||||
return currencyDisplay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue