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

20% Statements 3/15
50% Branches 1/2
100% Functions 0/0
20% Lines 2/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 16 175x 2x                              
@if (!list) {
  <app-loading></app-loading>
} @else if (list.length === 0) {
  <p class="no-results">
    No results found
  </p>
} @else {
  <div class="list-container">
    @for (b of list; track b.id; let i = $index) {
      <div class="list-number">{{ i + 1 }}</div>
      <app-backup [id]="b.id"
                  [size]="b.size"
                  [origin]="origin"></app-backup>
    }
  </div>
}