aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/users/user-notification.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-20 15:46:33 +0100
committerChocobozzz <me@florianbigard.com>2019-02-20 15:46:33 +0100
commit6d28a5056efc68da51c7ef00d563f3557a72bc49 (patch)
tree60f06729eabcdd73a09f45d7806c5ccd796036cd /client/src/app/shared/users/user-notification.model.ts
parentf8802489bbc2c0363b5668e47de7c35f573342e1 (diff)
downloadPeerTube-6d28a5056efc68da51c7ef00d563f3557a72bc49.tar.gz
PeerTube-6d28a5056efc68da51c7ef00d563f3557a72bc49.tar.zst
PeerTube-6d28a5056efc68da51c7ef00d563f3557a72bc49.zip
Correctly fix video import notification
If the imported video is deleted
Diffstat (limited to 'client/src/app/shared/users/user-notification.model.ts')
-rw-r--r--client/src/app/shared/users/user-notification.model.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/users/user-notification.model.ts b/client/src/app/shared/users/user-notification.model.ts
index 5d0dc19ae..097830752 100644
--- a/client/src/app/shared/users/user-notification.model.ts
+++ b/client/src/app/shared/users/user-notification.model.ts
@@ -118,7 +118,8 @@ export class UserNotification implements UserNotificationServer {
118 case UserNotificationType.MY_VIDEO_IMPORT_SUCCESS: 118 case UserNotificationType.MY_VIDEO_IMPORT_SUCCESS:
119 this.videoImportUrl = this.buildVideoImportUrl() 119 this.videoImportUrl = this.buildVideoImportUrl()
120 this.videoImportIdentifier = this.buildVideoImportIdentifier(this.videoImport) 120 this.videoImportIdentifier = this.buildVideoImportIdentifier(this.videoImport)
121 this.videoUrl = this.buildVideoUrl(this.videoImport.video) 121
122 if (this.videoImport.video) this.videoUrl = this.buildVideoUrl(this.videoImport.video)
122 break 123 break
123 124
124 case UserNotificationType.MY_VIDEO_IMPORT_ERROR: 125 case UserNotificationType.MY_VIDEO_IMPORT_ERROR: