mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where group membership information was displayed incorrectly. #7085
This commit is contained in:
parent
5240e8ccf8
commit
701085adaf
@ -58,8 +58,8 @@ export default class RoleSchema extends BaseUISchema {
|
|||||||
memberDataFormatter(rawData) {
|
memberDataFormatter(rawData) {
|
||||||
let members = '';
|
let members = '';
|
||||||
if(_.isObject(rawData)) {
|
if(_.isObject(rawData)) {
|
||||||
let withAdmin = '';
|
|
||||||
rawData.forEach(member => {
|
rawData.forEach(member => {
|
||||||
|
let withAdmin = '';
|
||||||
if(member.admin) { withAdmin = ' [WITH ADMIN]';}
|
if(member.admin) { withAdmin = ' [WITH ADMIN]';}
|
||||||
|
|
||||||
if (members.length > 0) { members += ', '; }
|
if (members.length > 0) { members += ', '; }
|
||||||
|
Loading…
Reference in New Issue
Block a user