Fix breakage from merge.

This commit is contained in:
bmauger 2022-05-02 16:30:56 -04:00
parent 876f68c8c0
commit e49cd70874
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ export function getDamageString() {
} }
export async function isGlassAvailableForCarId(carId){ export async function isGlassAvailableForCarId(carId){
const newGlassOptions = await baseMixin.methods.dispatchNonBlockingStoreAction( const newGlassOptions = await baseMixin.methods.dispatchStoreAction(
storeActions.GET_DAMAGE_OPTIONS, storeActions.GET_DAMAGE_OPTIONS,
{ carId: carId } { carId: carId }
); );
@ -24,8 +24,8 @@ export async function isGlassAvailableForCarId(carId){
for(const option of currentGlassOptions){ for(const option of currentGlassOptions){
if(!newGlassOptions.data[optionsMap[option.location]].availableReplacementOptions.includes(option.name)){ if(!newGlassOptions.data[optionsMap[option.location]].availableReplacementOptions.includes(option.name)){
return false; return false;
} }
} }
return true; return true;
} }

View file

@ -263,7 +263,7 @@ export default {
); );
}, },
lookupVehicle(vin) { lookupVehicle(vin) {
return baseMixin.methods.dispatchNonBlockingStoreAction( return baseMixin.methods.dispatchStoreAction(
storeActions.LOOKUP_VEHICLE_BY_VIN, storeActions.LOOKUP_VEHICLE_BY_VIN,
{ vin } { vin }
); );