chore: update rest of the codebase to use new getDisplayName() function
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-16 10:27:56 +02:00
parent ace66980bf
commit ab87fb681c
No known key found for this signature in database
9 changed files with 10 additions and 14 deletions

View file

@ -24,9 +24,7 @@ let displayAvatar: string | null
const user = props.user || props.member?.user
if (user) {
displayName = props.member?.nickname
|| user.display_name
|| user.username
displayName = getDisplayName(user, props.member)
if (user.avatar) {
displayAvatar = user.avatar