CASH-2025: prettier changes
This commit is contained in:
parent
e869c97bec
commit
48ae536492
1 changed files with 9 additions and 2 deletions
|
|
@ -334,7 +334,10 @@ export default {
|
|||
const oemGlassCheck = resultMap.oemGlassCheck;
|
||||
const offerOem = experimentAllowsOfferOem ? oemGlassCheck?.offerOem : false;
|
||||
const oemGlassPieceParts = oemGlassCheck?.glassPieceParts;
|
||||
const oemGlassParts = (oemGlassPieceParts && oemGlassPieceParts.length > 0) ? oemGlassPieceParts[0].parts : null;
|
||||
const oemGlassParts =
|
||||
oemGlassPieceParts && oemGlassPieceParts.length > 0
|
||||
? oemGlassPieceParts[0].parts
|
||||
: null;
|
||||
const isOemGlassSelected = store.getters.order.isOemGlassSelected;
|
||||
|
||||
let alternateGlassPartsForOem;
|
||||
|
|
@ -764,7 +767,11 @@ export default {
|
|||
this.lineItems.supportingItems = this.filterOutFees(this.lineItems.supportingItems);
|
||||
}
|
||||
|
||||
if (this.lineItems.glassParts && this.alternateGlassPartsForOem && this.alternateGlassPartsForOem.length > 0) {
|
||||
if (
|
||||
this.lineItems.glassParts &&
|
||||
this.alternateGlassPartsForOem &&
|
||||
this.alternateGlassPartsForOem.length > 0
|
||||
) {
|
||||
let isOEMGlassOnOrder = this.isOEMGlassOnOrder(this.lineItems.glassParts);
|
||||
if (
|
||||
(this.isOemGlassSelected && !isOEMGlassOnOrder) ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue