diff --git a/src/app/core/facades/product-context.facade.ts b/src/app/core/facades/product-context.facade.ts index 31d7bc523f..dac37c5e34 100644 --- a/src/app/core/facades/product-context.facade.ts +++ b/src/app/core/facades/product-context.facade.ts @@ -258,11 +258,18 @@ export class ProductContextFacade extends RxState { ); } + private get isMaximumLevel(): boolean { + return ( + this.get('requiredCompletenessLevel') === ProductCompletenessLevel.Detail || + this.get('requiredCompletenessLevel') === true + ); + } + private postProductFetch(product: ProductView, displayProperties: Partial) { if ( (ProductHelper.isRetailSet(product) || ProductHelper.isMasterProduct(product)) && displayProperties.price && - this.get('requiredCompletenessLevel') !== ProductCompletenessLevel.Detail + !this.isMaximumLevel ) { this.set('requiredCompletenessLevel', () => ProductCompletenessLevel.Detail); }