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

55.55% Statements 15/27
50% Branches 2/4
20% Functions 1/5
72.72% Lines 8/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 17 18 19 201x 2x     1x     1x   2x       2x 2x     1x    
<form>
  <app-editor #editor [control]="comment"
              [createdTags]="tags || []"
              [selectResponseType]="selectResponseType"
              (syncTags)="syncTags($event)"
              (addSource)="addSource($event)"
              (uploadCompleted)="completedUploads.push($event)"
              [autoFocus]="autofocus"></app-editor>
</form>
@for (e of serverError; track e) {
  <div class="error">{{ e }}</div>
}
 
<button type="button" [disabled]="replying" (click)="reply()" i18n>reply</button>
@if (replying) {
  <app-loading [inline]="true"></app-loading>
} @else if (showCancel) {
  <button type="button" (click)="cancel()" i18n>cancel</button>
}