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

31.57% Statements 6/19
20% Branches 1/5
0% Functions 0/3
50% Lines 5/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 161x 1x 1x 2x             1x          
<a class="fake-link" (click)="editing = !editing">
  <ng-content></ng-content>
</a>
@if (editing) {
  <div class="bubble inline-plugin row">
    <app-form-gen #gen class="stretch"
                  [bulk]="true"
                  (keydown)="$event.key === 'Enter' && save() || true"
                  [plugins]="group"
                  [plugin]="plugin"></app-form-gen>
    <button type="button" (click)="save()" i18n>+</button>
  </div>
} @else if (acting) {
  <app-loading [inline]="true"></app-loading>
}