Fixed an issue where group membership information was displayed incorrectly. #7085

pull/7134/head
Pravesh Sharma 2024-01-12 16:48:49 +05:30 committed by GitHub
parent 5240e8ccf8
commit 701085adaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,8 +58,8 @@ export default class RoleSchema extends BaseUISchema {
memberDataFormatter(rawData) {
let members = '';
if(_.isObject(rawData)) {
let withAdmin = '';
rawData.forEach(member => {
let withAdmin = '';
if(member.admin) { withAdmin = ' [WITH ADMIN]';}
if (members.length > 0) { members += ', '; }