Browse Source

Merge pull request #800 from mrfelton/fix/currecy-display-network-view

fix(channels): display currencyName in network
renovate/lint-staged-8.x
JimmyMow 6 years ago
committed by GitHub
parent
commit
2906649fff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      app/components/Contacts/Network/Network.js

17
app/components/Contacts/Network/Network.js

@ -174,16 +174,19 @@ class Network extends Component {
</h2> </h2>
<span className={styles.channelAmount}> <span className={styles.channelAmount}>
{Boolean(balance.channelBalance) && ( {Boolean(balance.channelBalance) && (
<Value <span>
value={balance.channelBalance} <Value
currency={ticker.currency} value={balance.channelBalance}
currentTicker={currentTicker} currency={ticker.currency}
fiatTicker={ticker.fiatTicker} currentTicker={currentTicker}
/> fiatTicker={ticker.fiatTicker}
/>
<i> {currencyName}</i>
</span>
)} )}
{Boolean(fiatAmount) && ( {Boolean(fiatAmount) && (
<span> <span>
{'≈ '} {' ≈ '}
<FormattedNumber <FormattedNumber
currency={ticker.fiatTicker} currency={ticker.fiatTicker}
style="currency" style="currency"

Loading…
Cancel
Save