diff options
Diffstat (limited to 'client/src')
3 files changed, 3 insertions, 6 deletions
diff --git a/client/src/app/shared/shared-main/users/user-notification.model.ts b/client/src/app/shared/shared-main/users/user-notification.model.ts index 4c15eb981..439547102 100644 --- a/client/src/app/shared/shared-main/users/user-notification.model.ts +++ b/client/src/app/shared/shared-main/users/user-notification.model.ts | |||
@@ -47,11 +47,7 @@ export class UserNotification implements UserNotificationServer { | |||
47 | comment?: { | 47 | comment?: { |
48 | threadId: number | 48 | threadId: number |
49 | 49 | ||
50 | video: { | 50 | video: VideoInfo |
51 | id: number | ||
52 | uuid: string | ||
53 | name: string | ||
54 | } | ||
55 | } | 51 | } |
56 | 52 | ||
57 | account?: ActorInfo | 53 | account?: ActorInfo |
diff --git a/client/src/app/shared/shared-main/users/user-notifications.component.ts b/client/src/app/shared/shared-main/users/user-notifications.component.ts index d7c722355..96b141543 100644 --- a/client/src/app/shared/shared-main/users/user-notifications.component.ts +++ b/client/src/app/shared/shared-main/users/user-notifications.component.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Subject } from 'rxjs' | 1 | import { Subject } from 'rxjs' |
2 | import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core' | 2 | import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core' |
3 | import { ComponentPagination, hasMoreItems, Notifier } from '@app/core' | 3 | import { ComponentPagination, hasMoreItems, Notifier } from '@app/core' |
4 | import { UserNotificationType, AbuseState } from '@shared/models' | 4 | import { AbuseState } from '@shared/models' |
5 | import { UserNotification } from './user-notification.model' | 5 | import { UserNotification } from './user-notification.model' |
6 | import { UserNotificationService } from './user-notification.service' | 6 | import { UserNotificationService } from './user-notification.service' |
7 | 7 | ||
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 97437ce45..334f386b6 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -536,6 +536,7 @@ export class PeerTubeEmbed { | |||
536 | videoCaptions, | 536 | videoCaptions, |
537 | inactivityTimeout: 2500, | 537 | inactivityTimeout: 2500, |
538 | videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views', | 538 | videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views', |
539 | videoShortUUID: videoInfo.shortUUID, | ||
539 | videoUUID: videoInfo.uuid, | 540 | videoUUID: videoInfo.uuid, |
540 | 541 | ||
541 | isLive: videoInfo.isLive, | 542 | isLive: videoInfo.isLive, |