Merge pull request #3007 from Safelite/feature/CASH-2114

CASH-2114: Copy over Childparts when swapping OEM glass
This commit is contained in:
Chris 2026-01-13 10:55:55 -05:00 committed by GitHub
commit 7e907fcc6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -995,6 +995,8 @@ export default {
(altPart) => altPart.partType === partTypeStrings.WINDSHIELD
);
if (altPartToUse) {
let childParts = this.lineItems.glassParts[index].childParts;
altPartToUse.childParts = childParts;
this.lineItems.glassParts[index] = altPartToUse;
}
}