Skip to content

Commit 7b699ca

Browse files
committed
feat: add member count in group summary
1 parent ecc5514 commit 7b699ca

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

client/shared/i18n/langs/en-US/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
"k76950a82": "Find friends faster with personal nicknames. Visible only to you.",
165165
"k77d3028d": "Unknown Panel",
166166
"k77ee6a43": "Member Manage",
167+
"k78102887": "Member Count",
167168
"k78e52ed0": "Accept",
168169
"k79304fa9": "Nickname changed successfully",
169170
"k7a89720": "Open in new window",

client/shared/i18n/langs/zh-CN/translation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
"k76950a82": "使用个人昵称更快地找到好友。仅您自己可见。",
165165
"k77d3028d": "未知的面板",
166166
"k77ee6a43": "成员管理",
167+
"k78102887": "成员数",
167168
"k78e52ed0": "接受",
168169
"k79304fa9": "修改昵称成功",
169170
"k7a89720": "在新窗口打开",

client/web/src/components/modals/GroupDetail/Summary.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ export const GroupSummary: React.FC<{
6464
renderEditor={DefaultFullModalInputEditorRender}
6565
onSave={handleUpdateGroupName}
6666
/>
67+
68+
<FullModalField
69+
title={t('成员数')}
70+
value={String(groupInfo.members.length)}
71+
/>
6772
</div>
6873
</div>
6974
</div>

0 commit comments

Comments
 (0)