Skip to content
Snippets Groups Projects
Commit 109bf6da authored by Tom Käsler's avatar Tom Käsler
Browse files

Initialize comment array w/ empty array

parent 6cfdf9da
1 merge request!267Fix alot of stuff
......@@ -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[];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment