All files / src/app/pages/product/product-links product-links.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 442x                                                                                      
@if (links$ | async; as links) { @if (links.upselling?.products?.length) {
<ish-product-links-list
  [links]="links.upselling"
  [productLinkTitle]="'product.product_links.upselling.title' | translate"
  [displayOnlyAvailableProducts]="true"
/>
} @if (links.spareparts?.products?.length) {
<ish-product-links-list
  [links]="links.spareparts"
  [productLinkTitle]="'product.product_links.spareparts.title' | translate"
/>
} @if (links.crossselling?.products?.length) {
<ish-product-links-carousel
  [links]="links.crossselling"
  [productLinkTitle]="'product.product_links.crossselling.title' | translate"
  [displayOnlyAvailableProducts]="true"
/>
} @if (links.accessory?.products?.length) {
<ish-product-links-carousel
  [links]="links.accessory"
  [productLinkTitle]="'product.product_links.accessory.title' | translate"
/>
} @if (links.differentorderunit?.products?.length) {
<ish-product-links-carousel
  [links]="links.differentorderunit"
  [productLinkTitle]="'product.product_links.differentorderunit.title' | translate"
/>
} @if (links.followup?.products?.length) {
<ish-product-links-carousel
  [links]="links.followup"
  [productLinkTitle]="'product.product_links.followup.title' | translate"
/>
} @if (links.other?.products?.length) {
<ish-product-links-carousel
  [links]="links.other"
  [productLinkTitle]="'product.product_links.other.title' | translate"
/>
} @if (links.replacement?.products?.length) {
<ish-product-links-carousel
  [links]="links.replacement"
  [productLinkTitle]="'product.product_links.replacement.title' | translate"
/>
} }