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
parent
commit
19a878c537
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      app/components/Contacts/Network/Network.js

14
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>
{'≈ '}

Loading…
Cancel
Save