Merge pull request #2015 from Safelite/feature/CSR-1928

set isGlass to false for adas part type
This commit is contained in:
CarlNation 2024-10-04 11:20:36 -04:00 committed by GitHub
commit eee67e5571
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3231,7 +3231,11 @@ function getFlattenedLineItemsWithGlassPartTag(lineItems) {
return {
partNumber: lineItem.partNumber,
partType: lineItem.partType,
isGlassPart: true,
isGlassPart:
lineItem.partType == partTypeStrings.RECALIBRATION ||
lineItem.partType == partTypeStrings.ADAS_RECALIBRATION
? false
: true,
};
});