From 3c9707ea842fb592b719cc8f6ad0166885d28e31 Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Sat, 7 Dec 2019 18:21:39 -0500 Subject: [PATCH] Fix a bug where spoiler headings are shown --- src/components/item_table/ItemTable.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/item_table/ItemTable.vue b/src/components/item_table/ItemTable.vue index cf7288e..97eec2b 100644 --- a/src/components/item_table/ItemTable.vue +++ b/src/components/item_table/ItemTable.vue @@ -8,10 +8,10 @@ Source - + Seasons - + Skills @@ -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) + } } }