Ignore meta.deleted for account name display

This commit is contained in:
Jaco Greeff
2016-12-07 11:51:48 +01:00
parent f7586109df
commit 5bdb6e4f22
2 changed files with 9 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ class IdentityName extends Component {
render () {
const { address, accountsInfo, tokens, empty, name, shorten, unknown, className } = this.props;
const account = accountsInfo[address] || tokens[address];
const hasAccount = account && (!account.meta || !account.meta.deleted);
const hasAccount = account && (account.uuid || !account.meta || !account.meta.deleted);
if (!hasAccount && empty) {
return null;