Skip to content

Commit 558fa38

Browse files
authored
Ensure isBundle set to false is included in all price components (Ficodes#225)
1 parent 832f025 commit 558fa38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/app/shared/forms/offer/offer.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ export class OfferComponent implements OnInit, OnDestroy{
458458
console.log(component)
459459
let priceComp: ProductOfferingPrice = {
460460
name: component.name,
461+
isBundle: false,
461462
description: component.description ?? component?.newValue.description,
462463
lifecycleStatus: component?.lifecycleStatus ?? component?.newValue?.lifecycleStatus ?? 'Active',
463464
priceType: component.priceType ?? component?.newValue?.priceType,
@@ -515,6 +516,7 @@ export class OfferComponent implements OnInit, OnDestroy{
515516
console.log('------')
516517
let priceComp: ProductOfferingPrice = {
517518
name: component.newValue.name,
519+
isBundle: false,
518520
description: component.newValue.description,
519521
lifecycleStatus: component.newValue.lifecycleStatus,
520522
priceType: component.newValue.priceType,

0 commit comments

Comments
 (0)