diff options
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/features/account/components/header.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index 25a4df705..4ff5d3b42 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -80,7 +80,6 @@ class Header extends ImmutablePureComponent { let info = []; let actionBtn = ''; - let lockedIcon = ''; let menu = []; if (me !== account.get('id') && account.getIn(['relationship', 'followed_by'])) { @@ -114,10 +113,6 @@ class Header extends ImmutablePureComponent { actionBtn = ''; } - if (account.get('locked')) { - lockedIcon = <Icon icon='lock' title={intl.formatMessage(messages.account_locked)} />; - } - if (account.get('id') !== me) { menu.push({ text: intl.formatMessage(messages.mention, { name: account.get('username') }), action: this.props.onMention }); menu.push({ text: intl.formatMessage(messages.direct, { name: account.get('username') }), action: this.props.onDirect }); @@ -227,7 +222,6 @@ class Header extends ImmutablePureComponent { <div className='account__header__tabs__name'> <h1> - <span className='account__header__locked'>{lockedIcon}</span> <span dangerouslySetInnerHTML={displayNameHtml} /> <small>@{acct}</small> <div className='roles'>{badge_admin}{badge_mod}{badge_froze}{badge_locked}{badge_ac}{badge_bot}{badge_gently}{badge_kobold}</div> |