File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
apps/settings/src/components/Users Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -422,10 +422,7 @@ export default {
422422 .map (group => {
423423 // Try to match with more extensive group data
424424 const availableGroup = this .availableGroups .find (g => g .id === group .id )
425- if (availableGroup) {
426- return availableGroup .name ?? availableGroup .id
427- }
428- return group .name ?? group .id
425+ return availableGroup .name ?? group .name ?? group .id
429426 })
430427 .join (' , ' )
431428 },
@@ -435,10 +432,7 @@ export default {
435432 .map (group => {
436433 // Try to match with more extensive group data
437434 const availableGroup = this .availableSubAdminGroups .find (g => g .id === group .id )
438- if (availableGroup) {
439- return availableGroup .name ?? availableGroup .id
440- }
441- return group .name ?? group .id
435+ return availableGroup .name ?? group .name ?? group .id
442436 })
443437 .join (' , ' )
444438 },
You can’t perform that action at this time.
0 commit comments