aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-05 10:20:03 +0200
committerChocobozzz <me@florianbigard.com>2019-09-05 10:20:14 +0200
commit43d35494b5d9774617be3fb186b0f180651b99fa (patch)
treeda34aaf996b0c94100e4e99f61ace4ebb6f21488 /client/src
parent00aab0666c6f772548c160fdfa871a8843b88f37 (diff)
downloadPeerTube-43d35494b5d9774617be3fb186b0f180651b99fa.tar.gz
PeerTube-43d35494b5d9774617be3fb186b0f180651b99fa.tar.zst
PeerTube-43d35494b5d9774617be3fb186b0f180651b99fa.zip
Fix old auto blacklist notifications
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/users/user-notification.model.ts3
1 files changed, 3 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 b4ac075c5..c3f4bf429 100644
--- a/client/src/app/shared/users/user-notification.model.ts
+++ b/client/src/app/shared/users/user-notification.model.ts
@@ -113,6 +113,9 @@ export class UserNotification implements UserNotificationServer {
113 113
114 case UserNotificationType.VIDEO_AUTO_BLACKLIST_FOR_MODERATORS: 114 case UserNotificationType.VIDEO_AUTO_BLACKLIST_FOR_MODERATORS:
115 this.videoAutoBlacklistUrl = '/admin/moderation/video-auto-blacklist/list' 115 this.videoAutoBlacklistUrl = '/admin/moderation/video-auto-blacklist/list'
116 // Backward compatibility where we did not assign videoBlacklist to this type of notification before
117 if (!this.videoBlacklist) this.videoBlacklist = { id: null, video: this.video }
118
116 this.videoUrl = this.buildVideoUrl(this.videoBlacklist.video) 119 this.videoUrl = this.buildVideoUrl(this.videoBlacklist.video)
117 break 120 break
118 121