Merge pull request #348 from Safelite/feature/digital/SSR-538
reset glass/supporting items without resetting answers on the page
This commit is contained in:
commit
b986857615
1 changed files with 4 additions and 2 deletions
|
|
@ -910,7 +910,8 @@ export const useMainStore = defineStore({
|
||||||
);
|
);
|
||||||
|
|
||||||
if (haveMoldingQuestionAnswersChanged) {
|
if (haveMoldingQuestionAnswersChanged) {
|
||||||
this.resetPartsAndDependencies();
|
this.updateGlassParts(null);
|
||||||
|
this.updateSupportingItems(null);
|
||||||
this.updateCapabilityQuestionAnswers(null);
|
this.updateCapabilityQuestionAnswers(null);
|
||||||
this.updatePageData({ page: issPageValues.CAPABILITY_QUESTIONS, data: null });
|
this.updatePageData({ page: issPageValues.CAPABILITY_QUESTIONS, data: null });
|
||||||
}
|
}
|
||||||
|
|
@ -935,7 +936,8 @@ export const useMainStore = defineStore({
|
||||||
);
|
);
|
||||||
|
|
||||||
if (haveCapabilityQuestionAnswersChanged) {
|
if (haveCapabilityQuestionAnswersChanged) {
|
||||||
this.resetPartsAndDependencies();
|
this.updateGlassParts(null);
|
||||||
|
this.updateSupportingItems(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save new values
|
// Save new values
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue