All files / app/component/action/inline-password inline-password.component.html

35.29% Statements 6/17
20% Branches 1/5
0% Functions 0/3
55.55% Lines 5/9

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 151x 1x 1x 2x           1x          
<a class="fake-link" (click)="editing = !editing">
  <ng-content></ng-content>
</a>
@if (editing) {
  <span class="inline-password">
    <input #inlinePassword
           (keydown)="$event.key === 'Enter' && save(inlinePassword) || true"
           type="password"
           appAutofocus>
    <button type="button" (click)="save(inlinePassword)" i18n>+</button>
  </span>
} @else if (acting) {
  <app-loading [inline]="true"></app-loading>
}