diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-22 18:30:20 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-10-28 19:24:02 +0200 |
commit | 7d3acb1f2c984cb402aa507b51abf7c824227fc8 (patch) | |
tree | 5e6eb529406a083e27a449308b552c004566b670 /app/javascript | |
parent | bda5040085e2e80a2f58917e1f12e5a95473ce9c (diff) |
[Glitch] Fix error when rendering limited account in web UI
Port 73a48318a19a207c63f6d03ecea8ce35b7e2364a to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/components/avatar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/avatar.js b/app/javascript/flavours/glitch/components/avatar.js index 1da4a861c..38fd99af5 100644 --- a/app/javascript/flavours/glitch/components/avatar.js +++ b/app/javascript/flavours/glitch/components/avatar.js @@ -71,7 +71,7 @@ export default class Avatar extends React.PureComponent { style={style} data-avatar-of={account && `@${account.get('acct')}`} role='img' - aria-label={account.get('acct')} + aria-label={account?.get('acct')} /> ); } |