aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users/user-notification.model.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-12-19 18:08:21 +0100
committerRigel Kent <sendmemail@rigelk.eu>2019-12-19 18:08:21 +0100
commitc5c09c1e5017844027ef77785f2d0406fa6b7039 (patch)
tree0735a01058bcd2ec3d5ae861ba35f21a1974fa93 /client/src/app/shared/users/user-notification.model.ts
parent10475dea7d2343c13014134b33bc75f7c59ac992 (diff)
downloadPeerTube-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.ts1
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