Fix unread comment count

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-08 18:21:07 +02:00
parent 5f8c46b146
commit 3e8451e1e1
2 changed files with 3 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ class ActivityController {
self.fetchUntilResults();
}
self.activityservice.fetchNewerActivities(self.type, self.element.id).then(function () {});
self.cardservice.getCurrent().commentsUnread = 0;
}, true);
let $target = $('.newCommentForm .message');