From 4c7ab367b30927b65e5067c83289199b6717005a Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Tue, 20 Jun 2023 11:49:50 -0400 Subject: [PATCH] reset glass/supporting items without resetting answers on the page --- src/store/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 535bf224..e6789340 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -910,7 +910,8 @@ export const useMainStore = defineStore({ ); if (haveMoldingQuestionAnswersChanged) { - this.resetPartsAndDependencies(); + this.updateGlassParts(null); + this.updateSupportingItems(null); this.updateCapabilityQuestionAnswers(null); this.updatePageData({ page: issPageValues.CAPABILITY_QUESTIONS, data: null }); } @@ -935,7 +936,8 @@ export const useMainStore = defineStore({ ); if (haveCapabilityQuestionAnswersChanged) { - this.resetPartsAndDependencies(); + this.updateGlassParts(null); + this.updateSupportingItems(null); } // Save new values