1
0
mirror of https://github.com/kihashi/stardew_community_checklist.git synced 2025-10-19 08:03:17 +00:00

Fix a bug where spoiler headings are shown

This commit is contained in:
John Cleaver 2019-12-07 18:21:39 -05:00
parent 47b50394c1
commit 3c9707ea84

View File

@ -8,10 +8,10 @@
<th>
Source
</th>
<th>
<th v-if="showSeasonList">
Seasons
</th>
<th>
<th v-if="showSkillList">
Skills
</th>
<th>
@ -42,6 +42,14 @@ export default {
items: {
type: Array
}
},
computed: {
showSeasonList: function () {
return !(this.$store.state.HideSpoilers && this.$store.state.SeasonsSpoilers)
},
showSkillList: function () {
return !(this.$store.state.HideSpoilers && this.$store.state.SkillsSpoilers)
}
}
}
</script>