Fixed pending damage display and nav size (#9723)

This commit is contained in:
Keith Holliday
2017-12-18 12:31:16 -06:00
committed by GitHub
parent 9830fce760
commit b8c716ff82
3 changed files with 9 additions and 9 deletions

View File

@@ -208,6 +208,10 @@ export default {
},
computed: {
...mapState({user: 'user.data'}),
userIsOnQuest () {
if (!this.group.quest || !this.group.quest.members) return false;
return Boolean(this.group.quest.members[this.user._id]);
},
onPendingQuest () {
return Boolean(this.group.quest.key) && !this.group.quest.active;
},