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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
7 deletions
-
app/components/Contacts/Network/Network.js
|
|
@ -174,16 +174,19 @@ class Network extends Component { |
|
|
|
</h2> |
|
|
|
<span className={styles.channelAmount}> |
|
|
|
{Boolean(balance.channelBalance) && ( |
|
|
|
<Value |
|
|
|
value={balance.channelBalance} |
|
|
|
currency={ticker.currency} |
|
|
|
currentTicker={currentTicker} |
|
|
|
fiatTicker={ticker.fiatTicker} |
|
|
|
/> |
|
|
|
<span> |
|
|
|
<Value |
|
|
|
value={balance.channelBalance} |
|
|
|
currency={ticker.currency} |
|
|
|
currentTicker={currentTicker} |
|
|
|
fiatTicker={ticker.fiatTicker} |
|
|
|
/> |
|
|
|
<i> {currencyName}</i> |
|
|
|
</span> |
|
|
|
)} |
|
|
|
{Boolean(fiatAmount) && ( |
|
|
|
<span> |
|
|
|
{'≈ '} |
|
|
|
{' ≈ '} |
|
|
|
<FormattedNumber |
|
|
|
currency={ticker.fiatTicker} |
|
|
|
style="currency" |
|
|
|