From b50ab4778f7765fbc0454f5a67391438d111b9b3 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 24 Sep 2019 18:28:52 -0500 Subject: add account limited by admin flag to api + badge --- app/javascript/flavours/glitch/features/account/components/header.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch/features') diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index 4ff5d3b42..cd2618440 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -185,6 +185,7 @@ class Header extends ImmutablePureComponent { const displayNameHtml = { __html: account.get('display_name_html') }; const fields = account.get('fields'); + const badge_limited = account.get('limited') ? (
) : null; const badge_locked = account.get('locked') ? (
) : null; const badge_froze = account.get('froze') ? (
) : null; const badge_bot = account.get('bot') ? (
) : null; @@ -224,7 +225,7 @@ class Header extends ImmutablePureComponent {

@{acct} -
{badge_admin}{badge_mod}{badge_froze}{badge_locked}{badge_ac}{badge_bot}{badge_gently}{badge_kobold}
+
{badge_admin}{badge_mod}{badge_froze}{badge_locked}{badge_limited}{badge_ac}{badge_bot}{badge_gently}{badge_kobold}

-- cgit