From f3c3f1f244af5e34c14a81357a78ff2edb4621d0 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 22 Oct 2022 18:30:20 +0200 Subject: [PATCH] [Glitch] Fix error when rendering limited account in web UI Port a041d3cb2704561482b8ea8f95f666ee4802c4a6 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/components/avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/avatar.js b/app/javascript/flavours/glitch/components/avatar.js index 1da4a861cb..38fd99af59 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')} /> ); }