typo fixes

This commit is contained in:
Katie Kroell 2023-11-02 16:34:29 -04:00
parent 16170b0c26
commit 05b8d5bdb8

View file

@ -536,21 +536,21 @@ export const useMainStore = defineStore({
} }
const orderItemsArray = []; const orderItemsArray = [];
const manuaGlassNamesArray = []; const manualGlassNamesArray = [];
const glassInformation = this.order.damage.glassToReplace; const glassInformation = this.order.damage.glassToReplace;
glassInformation?.forEach((glassPiece) => { glassInformation?.forEach((glassPiece) => {
const glassPieceObject = { const glassPieceObject = {
name: glassPiece?.glassLocation?.toUpperCase() name: glassPiece?.glassLocation?.toUpperCase()
}; };
orderItemsArray.push(glassPieceObject); orderItemsArray.push(glassPieceObject);
manuaGlassNamesArray.push(glassPiece.glassLocation); manualGlassNamesArray.push(glassPiece.glassLocation);
}); });
if (this.order.customer.address.state === 'FL' && this.order.damage.isRepair) { if (this.order.customer.address.state === 'FL' && this.order.damage.isRepair) {
const damageLocationObject = { const damageLocationObject = {
name: damageLocationsSelected.WINDSHIELD.toUpperCase() name: damageLocationsSelected.WINDSHIELD.toUpperCase()
}; };
orderItemsArray.push(damageLocationObject); orderItemsArray.push(damageLocationObject);
manuaGlassNamesArray.push(damageLocationsSelected.WINDSHIELD); manualGlassNamesArray.push(damageLocationsSelected.WINDSHIELD);
} }
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
@ -571,7 +571,7 @@ export const useMainStore = defineStore({
vehicle: { vehicle: {
endorsements: endorsementAnswersForPayload endorsements: endorsementAnswersForPayload
}, },
manualGlassNames: manuaGlassNamesArray manualGlassNames: manualGlassNamesArray
}, },
policy: { policy: {
policyState: this.order.customer.address.state, policyState: this.order.customer.address.state,