From 30d7a4c2fa927c7fe53815da6bb34facb22099e5 Mon Sep 17 00:00:00 2001 From: tekay <tom.kaesler@mni.thm.de> Date: Mon, 5 Apr 2021 12:12:25 +0200 Subject: [PATCH] Set the actual comment list because it's used in other spots This fixes a bug where new comments comming from the API on unpausing the comment stream where not in the list of comments being filtered and listed. --- src/app/components/shared/comment-list/comment-list.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/shared/comment-list/comment-list.component.ts b/src/app/components/shared/comment-list/comment-list.component.ts index 771890ee2..0037ba8af 100644 --- a/src/app/components/shared/comment-list/comment-list.component.ts +++ b/src/app/components/shared/comment-list/comment-list.component.ts @@ -443,6 +443,7 @@ export class CommentListComponent implements OnInit, OnDestroy { this.freeze = false; this.commentService.getAckComments(this.roomId) .subscribe(comments => { + this.comments = comments; this.setComments(comments); this.getComments(); }); -- GitLab