From ccfc2b6dce4bfda283bb6bc968a23fe4a76951d7 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Mon, 28 Sep 2020 18:00:49 +0200 Subject: Make explicit in glitch-soc's WebUI when an account is suspended --- .../glitch/features/account/components/action_bar.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'app') diff --git a/app/javascript/flavours/glitch/features/account/components/action_bar.js b/app/javascript/flavours/glitch/features/account/components/action_bar.js index 6576bff8e..2d4cc7f49 100644 --- a/app/javascript/flavours/glitch/features/account/components/action_bar.js +++ b/app/javascript/flavours/glitch/features/account/components/action_bar.js @@ -26,6 +26,19 @@ class ActionBar extends React.PureComponent { render () { const { account, intl } = this.props; + if (account.get('suspended')) { + return ( +
+
+ +
+
+ ); + } + let extraInfo = ''; if (account.get('acct') !== account.get('username')) { -- cgit