diff options
Diffstat (limited to 'client/src/app/shared/shared-main/video/video.model.ts')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.model.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index 92f5bc0c0..8e0e68020 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -12,7 +12,7 @@ import { | |||
12 | VideoScheduleUpdate, | 12 | VideoScheduleUpdate, |
13 | VideoState | 13 | VideoState |
14 | } from '@shared/models' | 14 | } from '@shared/models' |
15 | import { Actor } from '../account/actor.model' | 15 | import { Account, Actor, VideoChannel } from '@app/shared/shared-main' |
16 | 16 | ||
17 | export class Video implements VideoServerModel { | 17 | export class Video implements VideoServerModel { |
18 | byVideoChannel: string | 18 | byVideoChannel: string |
@@ -142,8 +142,8 @@ export class Video implements VideoServerModel { | |||
142 | 142 | ||
143 | this.byAccount = Actor.CREATE_BY_STRING(hash.account.name, hash.account.host) | 143 | this.byAccount = Actor.CREATE_BY_STRING(hash.account.name, hash.account.host) |
144 | this.byVideoChannel = Actor.CREATE_BY_STRING(hash.channel.name, hash.channel.host) | 144 | this.byVideoChannel = Actor.CREATE_BY_STRING(hash.channel.name, hash.channel.host) |
145 | this.accountAvatarUrl = Actor.GET_ACTOR_AVATAR_URL(this.account) | 145 | this.accountAvatarUrl = Account.GET_ACTOR_AVATAR_URL(this.account) |
146 | this.videoChannelAvatarUrl = Actor.GET_ACTOR_AVATAR_URL(this.channel) | 146 | this.videoChannelAvatarUrl = VideoChannel.GET_ACTOR_AVATAR_URL(this.channel) |
147 | 147 | ||
148 | this.category.label = peertubeTranslate(this.category.label, translations) | 148 | this.category.label = peertubeTranslate(this.category.label, translations) |
149 | this.licence.label = peertubeTranslate(this.licence.label, translations) | 149 | this.licence.label = peertubeTranslate(this.licence.label, translations) |