Add frontend tests for comments

This commit is contained in:
Michael Shamoon
2022-08-23 21:59:54 -07:00
parent 39661a548a
commit fc34b85b6e
3 changed files with 100 additions and 2 deletions

View File

@@ -17,11 +17,11 @@
</div>
<div class="d-flex card-footer small bg-light text-primary justify-content-between align-items-center">
<span>{{displayName(comment)}} - {{ comment.created | customDate}}</span>
<btn class="btn btn-link btn-sm p-0 fade" (click)="deleteComment(comment.id)">
<button type="button" class="btn btn-link btn-sm p-0 fade" (click)="deleteComment(comment.id)">
<svg width="13" height="13" fill="currentColor">
<use xlink:href="assets/bootstrap-icons.svg#trash" />
</svg>
</btn>
</button>
</div>
</div>
</div>