diff --git a/client/src/app/shared/users/user-notification.model.ts b/client/src/app/shared/users/user-notification.model.ts index 3bb53ff45..125d2120c 100644 --- a/client/src/app/shared/users/user-notification.model.ts +++ b/client/src/app/shared/users/user-notification.model.ts @@ -95,6 +95,7 @@ export class UserNotification implements UserNotificationServer { case UserNotificationType.NEW_COMMENT_ON_MY_VIDEO: case UserNotificationType.COMMENT_MENTION: + this.accountUrl = this.buildAccountUrl(this.comment.account) this.commentUrl = [ this.buildVideoUrl(this.comment.video), { threadId: this.comment.threadId } ] break diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html index caa518e7f..0d69e0feb 100644 --- a/client/src/app/shared/users/user-notifications.component.html +++ b/client/src/app/shared/users/user-notifications.component.html @@ -40,7 +40,7 @@
- {{ notification.comment.account.displayName }} commented your video {{ notification.comment.video.name }} + {{ notification.comment.account.displayName }} commented your video {{ notification.comment.video.name }}
@@ -91,7 +91,7 @@
- {{ notification.comment.account.displayName }} mentioned you on video {{ notification.comment.video.name }} + {{ notification.comment.account.displayName }} mentioned you on video {{ notification.comment.video.name }}