diff --git a/src/app/article/comment/comments.component.ts b/src/app/article/comment/comments.component.ts index c342b50..1e510d9 100644 --- a/src/app/article/comment/comments.component.ts +++ b/src/app/article/comment/comments.component.ts @@ -30,16 +30,6 @@ export class CommentsComponent { } else { this.loadNextPage(); } - this.commentService.subscribeToModelAdded((comment: noosfero.Comment) => { - if (comment.source_id === this.article.id) { - this.commentAdded(comment); - } - }); - this.commentService.subscribeToModelRemoved((comment: noosfero.Comment) => { - if (comment.source_id === this.article.id) { - this.commentRemoved(comment); - } - }); } commentAdded(comment: noosfero.CommentViewModel): void { -- libgit2 0.21.2