reset glass/supporting items without resetting answers on the page
This commit is contained in:
parent
7c37072e93
commit
4c7ab367b3
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue