All files / app/component/comment/comment-edit comment-edit.component.html

59.25% Statements 16/27
75% Branches 3/4
20% Functions 1/5
63.63% Lines 7/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 15 16 178x   4x     4x 8x       8x 8x     4x    
<app-editor #editor [control]="comment"
            [createdTags]="ref.tags || []"
            (syncTags)="editorTags = $event"
            (addSource)="sources.push($event)"
            (uploadCompleted)="completedUploads.push($event)"
            [autoFocus]="true"></app-editor>
@for (e of serverError; track e) {
  <span><!-- Unexpected Error --></span>
  <div class="error">{{ e }}</div>
}
<button type="button" [disabled]="editing" (click)="save()" i18n>save</button>
@if (editing) {
  <app-loading [inline]="true"></app-loading>
} @else {
  <button type="button" (click)="cancel()" i18n>cancel</button>
}