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:
parent
47b50394c1
commit
3c9707ea84
@ -8,10 +8,10 @@
|
|||||||
<th>
|
<th>
|
||||||
Source
|
Source
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th v-if="showSeasonList">
|
||||||
Seasons
|
Seasons
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th v-if="showSkillList">
|
||||||
Skills
|
Skills
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@ -42,6 +42,14 @@ export default {
|
|||||||
items: {
|
items: {
|
||||||
type: Array
|
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>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user