aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/users/user-notification.model.ts3
-rw-r--r--client/src/app/shared/users/user-notifications.component.html2
2 files changed, 3 insertions, 2 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:
diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html
index 0d69e0feb..1c0af1bb0 100644
--- a/client/src/app/shared/users/user-notifications.component.html
+++ b/client/src/app/shared/users/user-notifications.component.html
@@ -56,7 +56,7 @@
56 <my-global-icon iconName="cloud-download"></my-global-icon> 56 <my-global-icon iconName="cloud-download"></my-global-icon>
57 57
58 <div class="message"> 58 <div class="message">
59 <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl">Your video import</a> {{ notification.videoImportIdentifier }} succeeded 59 <a (click)="markAsRead(notification)" [routerLink]="notification.videoUrl || notification.videoImportUrl">Your video import</a> {{ notification.videoImportIdentifier }} succeeded
60 </div> 60 </div>
61 </ng-container> 61 </ng-container>
62 62