Merge pull request #53436 from nextcloud/fix/53363/available-groups

This commit is contained in:
Maksim Sukharev 2025-06-11 16:54:56 +02:00 committed by GitHub
commit ebaccf6335
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -428,7 +428,7 @@ export default {
.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
return availableGroup?.name ?? group.name ?? group.id
})
.join(', ')
},
@ -438,7 +438,7 @@ export default {
.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
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