Fix bug in NPC style display

This commit is contained in:
osiris
2019-12-21 22:13:39 +08:00
parent 4da1ed92bd
commit 2427743d0f
5 changed files with 15 additions and 7 deletions

View File

@@ -92,9 +92,9 @@ export default {
},
isNPC () {
if (this.backer) {
return this.backer.level;
return this.backer.tier;
} if (this.user && this.user.backer) {
return this.user.backer.level;
return this.user.backer.tier;
}
return false;
},