All files / app/component/comment/thread-summary thread-summary.component.html

22.22% Statements 4/18
16.66% Branches 1/6
100% Functions 0/0
33.33% Lines 4/12

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 22 23 24 25 26 27 28 29 30 311x 3x                         3x 3x                              
<ng-container *mobxAutorun>
  @for (ref of newRefs; track ref) {
    @if (commentView) {
      <app-comment [ref]="ref"
                   [depth]="depth"
                   [context]="context"></app-comment>
    } @else {
      <app-ref [ref]="ref"
               [class.thread]="true"
               [showToggle]="false"
               [expanded]="true"
               [expandInline]="true"></app-ref>
    }
  }
  @if (depth > 0) {
    @for (ref of list; track ref) {
      @if (commentView) {
        <app-comment [ref]="ref"
                     [depth]="depth"
                     [context]="context"></app-comment>
      } @else {
        <app-ref [ref]="ref"
                 [class.thread]="true"
                 [showToggle]="false"
                 [expanded]="true"
                 [expandInline]="true"></app-ref>
      }
    }
  }
</ng-container>