client lint first pass

This commit is contained in:
Matteo Pagliazzi
2019-10-11 20:35:49 +02:00
parent 07cffe9e16
commit a625e83b53
104 changed files with 1053 additions and 893 deletions

View File

@@ -153,7 +153,11 @@ export default {
return this.$t('sendGiftHeading', { name: this.userReceivingGems.profile.name });
},
receiverName () {
if (this.userReceivingGems.auth && this.userReceivingGems.auth.local && this.userReceivingGems.auth.local.username) {
if (
this.userReceivingGems.auth
&& this.userReceivingGems.auth.local
&& this.userReceivingGems.auth.local.username
) {
return this.userReceivingGems.auth.local.username;
}
return this.userReceivingGems.profile.name;