diff --git a/src/components/ProfileInfo.vue b/src/components/ProfileInfo.vue index 56ce0aa2..a5911fa7 100644 --- a/src/components/ProfileInfo.vue +++ b/src/components/ProfileInfo.vue @@ -137,6 +137,9 @@ export default { if (typeof this.accountInfo.name !== 'undefined' && this.accountInfo.name !== '') { return this.accountInfo.name } + if (typeof this.accountInfo.preferredUsername !== 'undefined' && this.accountInfo.preferredUsername !== '') { + return this.accountInfo.preferredUsername + } return this.account }, accountInfo: function() {