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>
|
||||
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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user