All files / app/component/action/confirm-action confirm-action.component.html

24.13% Statements 7/29
57.14% Branches 4/7
0% Functions 0/3
54.54% Lines 6/11

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 152x 1x 1x 1x         1x 1x          
@if (!confirming && !acting && !minTimeout) {
  <span class="fake-link" (click)="confirming = true">
    <ng-content></ng-content>
  </span>
} @else if (confirming) {
  <span>
    @if (warning) {<span class="warning">{{ warning }}</span>&nbsp;}
    {{ message }}&nbsp;
    <a class="fake-link" (click)="confirm()" i18n>yes</a>&nbsp;/&nbsp;
    <a class="fake-link" (click)="confirming = false" i18n>no</a>&nbsp;
  </span>
} @else {
  <app-loading [inline]="true"></app-loading>
}