diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-19 19:53:28 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-19 19:53:28 -0500 |
commit | d9d2c9a77e2a4f10d346396a4084a2c1e03ebda6 (patch) | |
tree | 754e12c73ed0720a9bab85e08e21192fe7746f77 /app/javascript/flavours/glitch | |
parent | 4e28528888770041e5d668544cd35ec55191f33b (diff) |
removed upstream locked icon from ui
Diffstat (limited to 'app/javascript/flavours/glitch')
-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> |