mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(dashboard): use display name for member/group embeds
This commit is contained in:
parent
989a8b4453
commit
f90ffdaff2
2 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ public class GroupControllerV2: PKControllerBase
|
|||
throw Errors.GroupNotFound;
|
||||
var system = await _repo.GetSystem(group.System);
|
||||
|
||||
var name = group.NameFor(LookupContext.ByNonOwner);
|
||||
var name = group.DisplayName ?? group.Name;
|
||||
if (system.Name != null)
|
||||
name += $" ({system.Name})";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue