Merge pull request #53363 from nextcloud/fix/users-gid

This commit is contained in:
John Molakvoæ 2025-06-10 10:28:41 +02:00 committed by GitHub
commit 86b027debe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 8 deletions

View file

@ -425,13 +425,21 @@ export default {
userGroupsLabels() {
return this.userGroups
.map(group => group.name ?? group.id)
.map(group => {
// Try to match with more extensive group data
const availableGroup = this.availableGroups.find(g => g.id === group.id)
return availableGroup.name ?? group.name ?? group.id
})
.join(', ')
},
userSubAdminGroupsLabels() {
return this.userSubAdminGroups
.map(group => group.name ?? group.id)
.map(group => {
// Try to match with more extensive group data
const availableGroup = this.availableSubAdminGroups.find(g => g.id === group.id)
return availableGroup.name ?? group.name ?? group.id
})
.join(', ')
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long