From d31affe69bacca4725f719847e03a1a9a81ebdee Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 30 Mar 2019 00:43:29 +0100 Subject: [PATCH] Add indication that you have been blocked in web UI (#10420) --- .../features/account/components/header.js | 10 ++++----- .../features/account_timeline/index.js | 22 ++++++++++++++----- .../mastodon/features/followers/index.js | 8 ++++--- .../mastodon/features/following/index.js | 8 ++++--- .../styles/mastodon/stream_entries.scss | 6 ++--- 5 files changed, 34 insertions(+), 20 deletions(-) diff --git a/app/javascript/mastodon/features/account/components/header.js b/app/javascript/mastodon/features/account/components/header.js index 76f50a5a43..f21ba8a9c5 100644 --- a/app/javascript/mastodon/features/account/components/header.js +++ b/app/javascript/mastodon/features/account/components/header.js @@ -94,15 +94,15 @@ class Header extends ImmutablePureComponent { let menu = []; if (me !== account.get('id') && account.getIn(['relationship', 'followed_by'])) { - info.push(); + info.push(); } else if (me !== account.get('id') && account.getIn(['relationship', 'blocking'])) { - info.push(); + info.push(); } if (me !== account.get('id') && account.getIn(['relationship', 'muting'])) { - info.push(); + info.push(); } else if (me !== account.get('id') && account.getIn(['relationship', 'domain_blocking'])) { - info.push(); + info.push(); } if (me !== account.get('id')) { @@ -111,7 +111,7 @@ class Header extends ImmutablePureComponent { } else if (account.getIn(['relationship', 'requested'])) { actionBtn =