intershop-pwa
intershop-pwa copied to clipboard
fix: handle case where all recently viewed products are failed/offline
PR Type
[x] Bugfix
What Is the Current Behavior?
When all recently viewed products that displayed in the Recently viewed
section go offline, the PWA still renders this heading for Recently viewed
even though there are no products displayed.
Issue Number: Closes #
What Is the New Behavior?
The recently.facade.ts
now filters both the recentlyViewedProducts
and mostRecentlyViewedProducts
, excluding products that are in the failed products store, instead of doing the filtering inside the products-list.component.ts
.
Does this PR Introduce a Breaking Change?
[ ] Yes [x] No
Other Information
Issue described in support ticket https://support.intershop.com/cse/index.php/Display/967271