All files / src/app/extensions/tacton/pages/configure/tacton-configure-navigation tacton-configure-navigation.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 22 23 24 25 26 27 28 291x                                                        
<ul class="list-unstyled bg-light p-3">
  <li *ngFor="let mainItem of tree$ | async" class="pt-1 pb-1">
    <button
      type="button"
      class="btn btn-link btn-link-action"
      (click)="changeStep(mainItem.name)"
      [ngClass]="{ 'font-weight-bold': mainItem.active }"
    >
      {{ mainItem.description }}
    </button>
    <ng-container *ngIf="mainItem.children">
      <ul class="list-unstyled pl-3">
        <ng-container *ngFor="let subItem of mainItem.children">
          <li *ngIf="subItem.hasVisibleParameters" class="pt-1 pb-1">
            <button
              type="button"
              class="btn btn-link btn-link-action"
              (click)="scrollIntoView(subItem.name)"
              [ngClass]="{ 'font-weight-bold': isActive$(subItem.name) | async }"
            >
              {{ subItem.description }}
            </button>
          </li>
        </ng-container>
      </ul>
    </ng-container>
  </li>
</ul>