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 44 45 46 47 48 49 50 51 52 532x                                                                                                        
<ng-container *ngIf="links$ | async as links">
  <ng-container *ngIf="links.upselling?.products?.length">
    <ish-product-links-list
      [links]="links.upselling"
      [productLinkTitle]="'product.product_links.upselling.title' | translate"
      [displayOnlyAvailableProducts]="true"
    />
  </ng-container>
  <ng-container *ngIf="links.spareparts?.products?.length">
    <ish-product-links-list
      [links]="links.spareparts"
      [productLinkTitle]="'product.product_links.spareparts.title' | translate"
    />
  </ng-container>
  <ng-container *ngIf="links.crossselling?.products?.length">
    <ish-product-links-carousel
      [links]="links.crossselling"
      [productLinkTitle]="'product.product_links.crossselling.title' | translate"
      [displayOnlyAvailableProducts]="true"
    />
  </ng-container>
  <ng-container *ngIf="links.accessory?.products?.length">
    <ish-product-links-carousel
      [links]="links.accessory"
      [productLinkTitle]="'product.product_links.accessory.title' | translate"
    />
  </ng-container>
  <ng-container *ngIf="links.differentorderunit?.products?.length">
    <ish-product-links-carousel
      [links]="links.differentorderunit"
      [productLinkTitle]="'product.product_links.differentorderunit.title' | translate"
    />
  </ng-container>
  <ng-container *ngIf="links.followup?.products?.length">
    <ish-product-links-carousel
      [links]="links.followup"
      [productLinkTitle]="'product.product_links.followup.title' | translate"
    />
  </ng-container>
  <ng-container *ngIf="links.other?.products?.length">
    <ish-product-links-carousel
      [links]="links.other"
      [productLinkTitle]="'product.product_links.other.title' | translate"
    />
  </ng-container>
  <ng-container *ngIf="links.replacement?.products?.length">
    <ish-product-links-carousel
      [links]="links.replacement"
      [productLinkTitle]="'product.product_links.replacement.title' | translate"
    />
  </ng-container>
</ng-container>