Revert "Revert "chore(lint): run fix""

This reverts commit 5179440f77.
This commit is contained in:
Sabe Jones
2021-08-27 18:54:55 -05:00
parent e6da2752a7
commit f13e982553
64 changed files with 303 additions and 228 deletions

View File

@@ -28,7 +28,6 @@
</div>
</template>
<style lang="scss" scoped>
@import '~@/assets/scss/colors.scss';
@@ -80,11 +79,6 @@ export default {
UserLabel,
QuestInfo,
},
data () {
return {
leader: null,
};
},
props: {
item: {
type: Object,
@@ -93,18 +87,10 @@ export default {
type: Object,
},
},
async created () {
if (this.group && this.group.quest && this.group.quest.active) {
try {
const fetchMemberResult = await this.$store.dispatch('members:fetchMember', {
memberId: this.group.quest.leader,
});
this.leader = fetchMemberResult;
} catch {
this.leader = null;
}
}
data () {
return {
leader: null,
};
},
computed: {
itemText () {
@@ -120,5 +106,18 @@ export default {
return this.item.notes;
},
},
async created () {
if (this.group && this.group.quest && this.group.quest.active) {
try {
const fetchMemberResult = await this.$store.dispatch('members:fetchMember', {
memberId: this.group.quest.leader,
});
this.leader = fetchMemberResult;
} catch {
this.leader = null;
}
}
},
};
</script>