mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
feat: show 10 members
This commit is contained in:
@@ -98,7 +98,7 @@ Groups.getGroups = async function (set, start, stop) {
|
|||||||
Groups.getGroupsAndMembers = async function (groupNames) {
|
Groups.getGroupsAndMembers = async function (groupNames) {
|
||||||
const [groups, members] = await Promise.all([
|
const [groups, members] = await Promise.all([
|
||||||
Groups.getGroupsData(groupNames),
|
Groups.getGroupsData(groupNames),
|
||||||
Groups.getMemberUsers(groupNames, 0, 3),
|
Groups.getMemberUsers(groupNames, 0, 9),
|
||||||
]);
|
]);
|
||||||
groups.forEach((group, index) => {
|
groups.forEach((group, index) => {
|
||||||
if (group) {
|
if (group) {
|
||||||
|
|||||||
Reference in New Issue
Block a user