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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user