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 9cd24e35349738a46b3859fec4d8d6d616dc0133..3f542e46de067a6080ce5c0dc0278bb45432ab55 100644 --- a/src/app/components/shared/comment-list/comment-list.component.ts +++ b/src/app/components/shared/comment-list/comment-list.component.ts @@ -23,7 +23,7 @@ import { VoteService } from '../../../services/http/vote.service'; export class CommentListComponent implements OnInit { @Input() user: User; @Input() roomId: string; - comments: Comment[]; + comments: Comment[] = []; room: Room; hideCommentsList = false; filteredComments: Comment[];