tweak MkRolePreview
This commit is contained in:
parent
027ef1ea4a
commit
2bedc084a3
2 changed files with 16 additions and 1 deletions
|
@ -62,6 +62,7 @@ export class RoleEntityService {
|
|||
isModerator: role.isModerator,
|
||||
canEditMembersByModerator: role.canEditMembersByModerator,
|
||||
options: roleOptions,
|
||||
usersCount: assigns.length,
|
||||
...(opts.detail ? {
|
||||
users: this.userEntityService.packMany(assigns.map(x => x.userId), me),
|
||||
} : {}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue