Show only known accounts/wallets/addresses on Home (#4612)

* Don't render unknown entries

* Only render non-null items

* Remove (now) invalid failing test
This commit is contained in:
Jaco Greeff
2017-02-20 16:34:38 +01:00
committed by Gav Wood
parent 72998d3ce3
commit 44769fcd4a
3 changed files with 16 additions and 11 deletions

View File

@@ -80,7 +80,12 @@ class Accounts extends Component {
return null;
}
const account = accountsInfo[history.entry] || { meta: {} };
const account = accountsInfo[history.entry];
if (!account) {
return null;
}
let linkType = 'addresses';
if (account.uuid) {