All files / src/app/pages/product/retail-set-parts retail-set-parts.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                                                                                      
<div *ngIf="visible$ | async" class="retail-product-list">
  <h3>{{ 'product.retailSet.products.heading' | translate }}</h3>
 
  <div class="product-list row">
    <ng-container *ngFor="let part of parts$ | async; index as i">
      <div *ngIf="displayType === 'tile'" class="col-6 col-lg-4 product-list-item grid-view">
        <ish-product-item
          displayType="tile"
          ishProductContext
          [sku]="part.sku"
          [propagateIndex]="i"
          [configuration]="{
            addToCompare: false,
            addToWishlist: false,
            addToOrderTemplate: false,
            addToQuote: false
          }"
        />
      </div>
 
      <div *ngIf="displayType === 'row'" class="col-lg-12 product-list-item list-view">
        <ish-product-item
          displayType="row"
          ishProductContext
          [sku]="part.sku"
          [propagateIndex]="i"
          [allowZeroQuantity]="true"
          [configuration]="{
            addToCompare: false,
            addToWishlist: false,
            addToOrderTemplate: false,
            addToQuote: false
          }"
        />
      </div>
    </ng-container>
  </div>
  <div class="row product-info">
    <div class="col align-self-start no-gutters">
      <ish-product-add-to-basket />
    </div>
  </div>
</div>