reset glass/supporting items without resetting answers on the page

This commit is contained in:
Katie Kroell 2023-06-20 11:49:50 -04:00
parent 7c37072e93
commit 4c7ab367b3

View file

@ -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