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 17 18 19 20 21 221x                                          
<div class="d-grid">
  @if (visible$ | async) {
  <button
    type="submit"
    class="btn"
    [ngClass]="cssClass"
    [disabled]="disabled$ | async"
    [title]="displayType === 'icon' ? ('quote.add_product_to_quote.button.add_to_quote.label' | translate) : ''"
    [tabindex]="ariaHidden ? -1 : 0"
    [attr.aria-hidden]="ariaHidden"
    (click)="addToQuote()"
    data-testing-id="addToQuoteButton"
  >
    @if (displayType === 'icon') {
    <i class="bi bi-inbox-fill"></i>
    } @else {
    {{ 'quote.add_product_to_quote.button.add_to_quote.label' | translate }}
    }
  </button>
  }
</div>