diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-19 18:08:21 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-19 18:08:21 +0100 |
commit | c5c09c1e5017844027ef77785f2d0406fa6b7039 (patch) | |
tree | 0735a01058bcd2ec3d5ae861ba35f21a1974fa93 /client/src/app/shared/users/user-notification.model.ts | |
parent | 10475dea7d2343c13014134b33bc75f7c59ac992 (diff) | |
download | PeerTube-c5c09c1e5017844027ef77785f2d0406fa6b7039.tar.gz PeerTube-c5c09c1e5017844027ef77785f2d0406fa6b7039.tar.zst PeerTube-c5c09c1e5017844027ef77785f2d0406fa6b7039.zip |
fix deleted comment layout and its notification display
Diffstat (limited to 'client/src/app/shared/users/user-notification.model.ts')
-rw-r--r-- | client/src/app/shared/users/user-notification.model.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/users/user-notification.model.ts b/client/src/app/shared/users/user-notification.model.ts index c3f4bf429..ba29cb462 100644 --- a/client/src/app/shared/users/user-notification.model.ts +++ b/client/src/app/shared/users/user-notification.model.ts | |||
@@ -102,6 +102,7 @@ export class UserNotification implements UserNotificationServer { | |||
102 | 102 | ||
103 | case UserNotificationType.NEW_COMMENT_ON_MY_VIDEO: | 103 | case UserNotificationType.NEW_COMMENT_ON_MY_VIDEO: |
104 | case UserNotificationType.COMMENT_MENTION: | 104 | case UserNotificationType.COMMENT_MENTION: |
105 | if (!this.comment) break | ||
105 | this.accountUrl = this.buildAccountUrl(this.comment.account) | 106 | this.accountUrl = this.buildAccountUrl(this.comment.account) |
106 | this.commentUrl = [ this.buildVideoUrl(this.comment.video), { threadId: this.comment.threadId } ] | 107 | this.commentUrl = [ this.buildVideoUrl(this.comment.video), { threadId: this.comment.threadId } ] |
107 | break | 108 | break |