Merge pull request #3007 from Safelite/feature/CASH-2114
CASH-2114: Copy over Childparts when swapping OEM glass
This commit is contained in:
commit
7e907fcc6b
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue