feat(usernames): show in party header, profiles, inbox convo list

This commit is contained in:
Sabe Jones
2018-10-22 16:29:47 -05:00
parent 3cc49f6637
commit ed21a37e5a
5 changed files with 83 additions and 32 deletions

View File

@@ -11,7 +11,7 @@ div
v-if="msg.user"
)
| {{msg.user}}
.svg-icon(v-html="tierIcon", v-if='showShowTierStyle')
.svg-icon(v-html="tierIcon")
p.time
span.mr-1(v-if="msg.username") @{{ msg.username }}
span.mr-1(v-if="msg.username")
@@ -101,6 +101,8 @@ div
font-size: 14px;
color: #4e4a57;
text-align: left !important;
min-height: 0rem;
margin-bottom: -0.5rem;
}
}
@@ -227,12 +229,6 @@ export default {
}
return likeCount;
},
showShowTierStyle () {
const message = this.msg;
const isContributor = Boolean(message.contributor && message.contributor.level);
const isNPC = Boolean(message.backer && message.backer.npc);
return isContributor || isNPC;
},
tierIcon () {
const message = this.msg;
const isNPC = Boolean(message.backer && message.backer.npc);