CASH-2114: Copy over Childparts when swapping OEM glass

This commit is contained in:
Chris Redelinghuys 2026-01-13 10:45:24 -05:00
parent 7b5397cb5d
commit 09a9799624

View file

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