update comments

This commit is contained in:
2021-10-04 14:14:03 +02:00
parent 0cabe9b0a5
commit 1f427fd67e
11 changed files with 129 additions and 84 deletions
+2 -4
View File
@@ -5,10 +5,8 @@
<p class="text">{{entry.text}}</p>
<ui-commentform [target]="entry.id" [change]="boundReplyCallback"></ui-commentform>
<ui-commentform [target]="entry.id" (replyCommentEvent)="replyCallback($event)"></ui-commentform>
<ng-container *ngIf="entry.metadata.comments">
<ui-comments [target]="entry.id"></ui-comments>
</ng-container>
<ui-comments #comments [target]="entry.id"></ui-comments>
</ng-container>
</div>