All files / app/component/plugin/plugin-list plugin-list.component.html

22.22% Statements 4/18
25% Branches 1/4
100% Functions 0/0
30% Lines 3/10

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 164x                   2x     2x    
@if (page) {
  <div class="list-container">
    @for (p of page.content; track p.tag + p.origin; let i = $index) {
      <div class="list-number">{{ i + page.page.number * page.page.size + 1 }}</div>
      <app-plugin [plugin]="p"></app-plugin>
    }
  </div>
  @if (page.content.length) {
    <app-page-controls [page]="page"></app-page-controls>
  } @else {
    <p class="no-results" i18n>No results found</p>
  }
} @else {
  <app-loading></app-loading>
}