]> cat aescling's git repositories - mastodon.git/commitdiff
Removed length check which now happens in reducer
authorkibigo! <marrus-sh@users.noreply.github.com>
Wed, 11 Oct 2017 18:50:11 +0000 (11:50 -0700)
committerkibigo! <marrus-sh@users.noreply.github.com>
Wed, 11 Oct 2017 18:50:11 +0000 (11:50 -0700)
app/javascript/glitch/components/account/header.js

index 9404ee6a59ff6cd2ec422535ec6f5f145d81b1d9..6359c1775db2c8bd7bb403ec4efaa9b74d168c0d 100644 (file)
@@ -121,10 +121,6 @@ then we set the `displayName` to just be the `username` of the account.
     let actionBtn   = '';
     let following   = false;
 
-    if (displayName.length === 0) {
-      displayName = account.get('username');
-    }
-
 /*
 
 Next, we handle the account relationships. If the account follows the
This page took 0.025138 seconds and 3 git commands to generate.