everything seems to be working, still need to update tests
This commit is contained in:
parent
2b7d94524c
commit
ac1bad19ad
2 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@
|
|||
ref="vehicleBanner"
|
||||
:displayGenericVehicleImage="false" />
|
||||
<siteSubHeader cmsWidgetName="SiteSubHeaderWidget" ref="siteSubHeader" />
|
||||
<div class="fade-on-route-transition sub-container make-tall">
|
||||
<div class="fade-on-route-transition sub-container make-tall overflow-auto">
|
||||
<alert
|
||||
ref="alertVinNotFound"
|
||||
v-if="displayVinNotFoundAlert"
|
||||
|
|
|
|||
|
|
@ -311,8 +311,8 @@ export const useMainStore = defineStore({
|
|||
},
|
||||
|
||||
async getParts() {
|
||||
const vehicle = this.getters.vehicle;
|
||||
const damage = this.getters.damage;
|
||||
const vehicle = this.order.vehicle;
|
||||
const damage = this.order.damage;
|
||||
const order = this.order;
|
||||
|
||||
const carId = vehicle.carId;
|
||||
|
|
@ -602,7 +602,7 @@ export const useMainStore = defineStore({
|
|||
savePartQuestionAnswers(partQuestionAnswersArray) {
|
||||
// if part question answers have changed, reset subsequent question answers
|
||||
const sortedPreviousResultsArray = sortArrayOfObjectsByPropertyValue(
|
||||
context.getters.damage.partQuestionAnswers,
|
||||
this.order.damage.partQuestionAnswers,
|
||||
"result"
|
||||
);
|
||||
const sortedPartQuestionAnswersArray = sortArrayOfObjectsByPropertyValue(
|
||||
|
|
|
|||
Loading…
Reference in a new issue