From f0957a9bbafbfb6fb226280a35cee6f3c97e3f07 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Tue, 18 Apr 2023 08:40:41 -0400 Subject: [PATCH] Small refactor --- .../service-location/shop-question/shop-question.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/layouts/service-location/shop-question/shop-question.vue b/src/layouts/service-location/shop-question/shop-question.vue index ec6c0c18f..34441440d 100644 --- a/src/layouts/service-location/shop-question/shop-question.vue +++ b/src/layouts/service-location/shop-question/shop-question.vue @@ -162,7 +162,9 @@ export default { this.shopIndex = 0; this.getNextShopsFromList(); - this.displaySeeMoreLocationsLink = true; + this.displaySeeMoreLocationsLink = true; + this.selectedValue = ""; + this.$refs.buttonQuestion.resetField(); }, }, @@ -189,11 +191,6 @@ export default { container.scrollTo({ top: container.scrollHeight, left: 0, behavior: "smooth" }); this.resetShopList(); - - this.selectedValue = ""; - - this.$refs.buttonQuestion.resetField(); - }, immediate: true, },