about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-22 18:30:20 +0200
committerGitHub <noreply@github.com>2022-10-22 18:30:20 +0200
commit73a48318a19a207c63f6d03ecea8ce35b7e2364a (patch)
treeebba35d5237c23cf7708b40ec5f811d05b5809ad /app/javascript
parent062b3c9090c6935d4bf754e7aeb37793a2aa7b68 (diff)
Fix error when rendering limited account in web UI (#19413)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/components/avatar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/components/avatar.js b/app/javascript/mastodon/components/avatar.js
index 976d85cdb..dd3932ae6 100644
--- a/app/javascript/mastodon/components/avatar.js
+++ b/app/javascript/mastodon/components/avatar.js
@@ -64,7 +64,7 @@ export default class Avatar extends React.PureComponent {
         onMouseLeave={this.handleMouseLeave}
         style={style}
         role='img'
-        aria-label={account.get('acct')}
+        aria-label={account?.get('acct')}
       />
     );
   }