All files / src/app/extensions/quoting/shared/product-add-to-quote product-add-to-quote.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 171x                                
<button
  *ngIf="visible$ | async"
  type="submit"
  class="btn"
  [ngClass]="cssClass"
  [disabled]="disabled$ | async"
  [attr.title]="'quote.add_product_to_quote.button.add_to_quote.label' | translate"
  data-testing-id="addToQuoteButton"
  (click)="addToQuote()"
>
  <ng-container *ngIf="displayType === 'icon'; else defaultButton">
    <fa-icon [icon]="['fas', 'inbox']" />
  </ng-container>
 
  <ng-template #defaultButton> {{ 'quote.add_product_to_quote.button.add_to_quote.label' | translate }} </ng-template>
</button>