diff --git a/website/client/src/components/shops/quests/index.vue b/website/client/src/components/shops/quests/index.vue index 8a426a83d3..fad01ef6ae 100644 --- a/website/client/src/components/shops/quests/index.vue +++ b/website/client/src/components/shops/quests/index.vue @@ -521,9 +521,12 @@ export default { categories () { if (this.shop.categories) { this.shop.categories.forEach(category => { - this.$set(this.viewOptions, category.identifier, { - selected: false, - }); + // do not reset the viewOptions if already set once + if (typeof this.viewOptions[category.identifier] === 'undefined') { + this.$set(this.viewOptions, category.identifier, { + selected: false, + }); + } }); return this.shop.categories; diff --git a/website/client/src/components/shops/timeTravelers/index.vue b/website/client/src/components/shops/timeTravelers/index.vue index 0704ef689c..6bb70047f6 100644 --- a/website/client/src/components/shops/timeTravelers/index.vue +++ b/website/client/src/components/shops/timeTravelers/index.vue @@ -379,9 +379,12 @@ export default { normalGroups.push(setCategory); normalGroups.forEach(category => { - this.$set(this.viewOptions, category.identifier, { - selected: false, - }); + // do not reset the viewOptions if already set once + if (typeof this.viewOptions[category.identifier] === 'undefined') { + this.$set(this.viewOptions, category.identifier, { + selected: false, + }); + } }); return normalGroups;