Update src/helpers/recal-helper.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
4bff273b47
commit
744f1b4724
1 changed files with 2 additions and 1 deletions
|
|
@ -64,8 +64,9 @@ export function containsRecalParts(lineItems) {
|
|||
const flattened = [
|
||||
...(lineItems.glassParts ?? []),
|
||||
...(lineItems.supportingItems ?? []),
|
||||
...(lineItems.otherParts ?? []),
|
||||
...(lineItems.feeItems ?? []),
|
||||
...(lineItems.vaps ?? []),
|
||||
...(lineItems.promos ?? []),
|
||||
];
|
||||
|
||||
return flattened.some((li) => isRecalPartOrHasChildRecalPart(li));
|
||||
|
|
|
|||
Loading…
Reference in a new issue