mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
NPC style should apply to tier $800 only (#11797)
- Fix wrong level field - Check if tier is 800 everywhere
This commit is contained in:
@@ -90,10 +90,11 @@ export default {
|
||||
},
|
||||
isNPC () {
|
||||
if (this.backer) {
|
||||
return this.backer.level;
|
||||
return this.backer.tier === 800;
|
||||
} if (this.user && this.user.backer) {
|
||||
return this.user.backer.level;
|
||||
return this.user.backer.tier === 800;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user