CSR-1146 | Provisional flag fix for mobile slots

This commit is contained in:
Scott Kiener 2023-07-10 10:13:41 -04:00
parent 17b6bd4582
commit 26bde84bfb

View file

@ -1309,10 +1309,12 @@ export const actions = {
additionalAuthFlag: "", additionalAuthFlag: "",
}, },
partSelection: { partSelection: {
hasAnsweredPartQuestions: !!order.damage.partQuestionAnswers, hasAnsweredPartQuestions: !!order.damage.partQuestionAnswers?.length,
hasAnsweredMoldingQuestions: !!order.damage.moldingQuestionAnswers, hasAnsweredMoldingQuestions: !!order.damage.moldingQuestionAnswers?.length,
hasAnsweredCapabilityQuestions: !!order.damage.capabilityQuestionAnswers, hasAnsweredCapabilityQuestions: !!order.damage.capabilityQuestionAnswers?.length,
hasManuallySelectedParts: !!context.state.applicationUser.pageData["vehicle-parts"], hasManuallySelectedParts:
!!context.state.applicationUser.pageData["vehicle-parts"]?.partsOrQuestions
.length,
}, },
vehicle: { vehicle: {
year: vehicle.year, year: vehicle.year,