Browse Source
Merge pull request #795 from mrfelton/fix/hide-zero-channel-balance
fix(wallet): hide zero channel balance
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
8 additions and
6 deletions
-
app/components/Contacts/Network/Network.js
|
|
@ -173,12 +173,14 @@ class Network extends Component { |
|
|
|
<FormattedMessage {...messages.title} /> |
|
|
|
</h2> |
|
|
|
<span className={styles.channelAmount}> |
|
|
|
<Value |
|
|
|
value={balance.channelBalance} |
|
|
|
currency={ticker.currency} |
|
|
|
currentTicker={currentTicker} |
|
|
|
fiatTicker={ticker.fiatTicker} |
|
|
|
/> |
|
|
|
{Boolean(balance.channelBalance) && ( |
|
|
|
<Value |
|
|
|
value={balance.channelBalance} |
|
|
|
currency={ticker.currency} |
|
|
|
currentTicker={currentTicker} |
|
|
|
fiatTicker={ticker.fiatTicker} |
|
|
|
/> |
|
|
|
)} |
|
|
|
{Boolean(fiatAmount) && ( |
|
|
|
<span> |
|
|
|
{'≈ '} |
|
|
|