mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
client lint first pass
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user