typo fixes
This commit is contained in:
parent
16170b0c26
commit
05b8d5bdb8
1 changed files with 4 additions and 4 deletions
|
|
@ -536,21 +536,21 @@ export const useMainStore = defineStore({
|
|||
}
|
||||
|
||||
const orderItemsArray = [];
|
||||
const manuaGlassNamesArray = [];
|
||||
const manualGlassNamesArray = [];
|
||||
const glassInformation = this.order.damage.glassToReplace;
|
||||
glassInformation?.forEach((glassPiece) => {
|
||||
const glassPieceObject = {
|
||||
name: glassPiece?.glassLocation?.toUpperCase()
|
||||
};
|
||||
orderItemsArray.push(glassPieceObject);
|
||||
manuaGlassNamesArray.push(glassPiece.glassLocation);
|
||||
manualGlassNamesArray.push(glassPiece.glassLocation);
|
||||
});
|
||||
if (this.order.customer.address.state === 'FL' && this.order.damage.isRepair) {
|
||||
const damageLocationObject = {
|
||||
name: damageLocationsSelected.WINDSHIELD.toUpperCase()
|
||||
};
|
||||
orderItemsArray.push(damageLocationObject);
|
||||
manuaGlassNamesArray.push(damageLocationsSelected.WINDSHIELD);
|
||||
manualGlassNamesArray.push(damageLocationsSelected.WINDSHIELD);
|
||||
}
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
@ -571,7 +571,7 @@ export const useMainStore = defineStore({
|
|||
vehicle: {
|
||||
endorsements: endorsementAnswersForPayload
|
||||
},
|
||||
manualGlassNames: manuaGlassNamesArray
|
||||
manualGlassNames: manualGlassNamesArray
|
||||
},
|
||||
policy: {
|
||||
policyState: this.order.customer.address.state,
|
||||
|
|
|
|||
Loading…
Reference in a new issue