added display name to users

This commit is contained in:
zipben 2025-06-04 16:04:28 +00:00
parent cbb8950b46
commit c0294f4c39
16 changed files with 112 additions and 14 deletions

View file

@ -107,7 +107,7 @@ export default {
return this.$store.getters['libraries/getBookCoverAspectRatio']
},
username() {
return this.user.username
return this.user.displayName || this.user.username
},
userOnline() {
return this.$store.getters['users/getIsUserOnline'](this.user.id)

View file

@ -92,7 +92,7 @@ export default {
},
computed: {
username() {
return this.user.username
return this.user.displayName || this.user.username
},
userOnline() {
return this.$store.getters['users/getIsUserOnline'](this.user.id)