Fix breakage from merge.
This commit is contained in:
parent
876f68c8c0
commit
e49cd70874
2 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ export function getDamageString() {
|
|||
}
|
||||
|
||||
export async function isGlassAvailableForCarId(carId){
|
||||
const newGlassOptions = await baseMixin.methods.dispatchNonBlockingStoreAction(
|
||||
const newGlassOptions = await baseMixin.methods.dispatchStoreAction(
|
||||
storeActions.GET_DAMAGE_OPTIONS,
|
||||
{ carId: carId }
|
||||
);
|
||||
|
|
@ -24,8 +24,8 @@ export async function isGlassAvailableForCarId(carId){
|
|||
for(const option of currentGlassOptions){
|
||||
if(!newGlassOptions.data[optionsMap[option.location]].availableReplacementOptions.includes(option.name)){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -263,7 +263,7 @@ export default {
|
|||
);
|
||||
},
|
||||
lookupVehicle(vin) {
|
||||
return baseMixin.methods.dispatchNonBlockingStoreAction(
|
||||
return baseMixin.methods.dispatchStoreAction(
|
||||
storeActions.LOOKUP_VEHICLE_BY_VIN,
|
||||
{ vin }
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue