Merge pull request #53411 from nextcloud/backport/53363/stable31

pull/53358/head
John Molakvoæ 2025-06-12 22:35:26 +07:00 committed by GitHub
commit 2f3ceecf92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 16 additions and 8 deletions

@ -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