All files / src/app/pages/search search-page.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 151x                            
@if (searchTerm$ | async; as searchTerm) {
  <!-- search result with products -->
  @if ((numberOfItems$ | async) || (filterParams$ | async)) {
    <ish-search-result [deviceType]="deviceType$ | async" [searchTerm]="searchTerm" />
  } @else {
    @if ((searchLoading$ | async) === false) {
      <ish-search-no-result [searchTerm]="searchTerm" />
    }
  }
  <!-- empty search result -->
  @if (searchLoading$ | async) {
    <ish-loading />
  }
}