Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jun 10, 2025

@backportbot backportbot bot added bug 3. to review Waiting for reviews papercut Annoying recurring UX issue with possibly simple fix. feature: users and groups feature: settings labels Jun 10, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.6 milestone Jun 10, 2025
.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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return availableGroup.name ?? group.name ?? group.id
return availableGroup?.name ?? 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return availableGroup.name ?? group.name ?? group.id
return availableGroup?.name ?? group.name ?? group.id

@skjnldsv

This comment was marked as resolved.

@skjnldsv skjnldsv force-pushed the backport/53363/stable31 branch from 77060dd to dc59cfc Compare June 12, 2025 19:19
skjnldsv and others added 2 commits June 12, 2025 22:02
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv
Copy link
Member

/compile

@skjnldsv skjnldsv force-pushed the backport/53363/stable31 branch from 461b1a9 to 3d2c00a Compare June 12, 2025 20:02
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@skjnldsv skjnldsv enabled auto-merge June 12, 2025 20:19
@skjnldsv skjnldsv disabled auto-merge June 12, 2025 20:35
@skjnldsv skjnldsv merged commit 2f3ceec into stable31 Jun 12, 2025
114 of 118 checks passed
@skjnldsv skjnldsv deleted the backport/53363/stable31 branch June 12, 2025 20:35
@nextcloud-bot nextcloud-bot mentioned this pull request Jul 3, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug feature: settings feature: users and groups papercut Annoying recurring UX issue with possibly simple fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants