make string uppercase

This commit is contained in:
Katie Kroell 2023-11-10 13:31:04 -05:00
parent e0c9aacb72
commit 70e2552f65

View file

@ -529,10 +529,10 @@ export const useMainStore = defineStore({
const manualGlassNamesArray = [];
const glassInformation = this.order.damage.glassToReplace;
glassInformation?.forEach((glassPiece) => {
manualGlassNamesArray.push(glassPiece.glassLocation);
manualGlassNamesArray.push(glassPiece.glassLocation.toUpperCase());
});
if (this.order.customer.address.state === 'FL' && this.order.damage.isRepair) {
manualGlassNamesArray.push(damageLocationsSelected.WINDSHIELD);
manualGlassNamesArray.push(damageLocationsSelected.WINDSHIELD.toUpperCase());
}
return new Promise((resolve, reject) => {