mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 04:08:28 +00:00
fix empty case
This commit is contained in:
parent
7abc4a61fe
commit
97f372fe01
@ -96,7 +96,7 @@ class CoinMenu extends PureComponent<Props> {
|
||||
isTopMenuEmpty() {
|
||||
const numberOfVisibleNetworks = this.props.localStorage.config.networks
|
||||
.filter(item => !item.isHidden) // hide coins globally in config
|
||||
.filter(item => this.props.wallet.hiddenCoins.includes(item.shortcut));
|
||||
.filter(item => !this.props.wallet.hiddenCoins.includes(item.shortcut));
|
||||
|
||||
return numberOfVisibleNetworks.length <= 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user