From 6ffa52dbd95333e60848a9ec2f1ebec6f08b2593 Mon Sep 17 00:00:00 2001
From: mgabdev <>
Date: Wed, 23 Dec 2020 16:55:42 -0500
Subject: [PATCH] Added total member count to Group Members page title
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
• Added:
- total member count to Group Members page title
---
.../gabsocial/features/group_members.js | 34 +++++++++++++------
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/app/javascript/gabsocial/features/group_members.js b/app/javascript/gabsocial/features/group_members.js
index fc95a6e1..d5269161 100644
--- a/app/javascript/gabsocial/features/group_members.js
+++ b/app/javascript/gabsocial/features/group_members.js
@@ -18,6 +18,7 @@ import ColumnIndicator from '../components/column_indicator'
import Block from '../components/block'
import BlockHeading from '../components/block_heading'
import Input from '../components/input'
+import Text from '../components/text'
import ScrollableList from '../components/scrollable_list'
class GroupMembers extends ImmutablePureComponent {
@@ -71,21 +72,32 @@ class GroupMembers extends ImmutablePureComponent {
if (!isAdminOrMod) return
const accountIds = !!query ? searchAcountIds : listAccountIds
+ const accountIdsSize = !!accountIds ? accountIds.size : 0
+ const memberCount = group.get('member_count')
+
+ const blockHeadingTitle = (
+
+ Group Members
+
+ ({accountIdsSize} of {memberCount})
+
+
+ )
return (
-
+
-
-
-
+
+
+