diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-11-18 19:20:05 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-25 11:12:06 +0100 |
commit | c418d483004dfbae9ea38d54aa1577db46d34a8a (patch) | |
tree | c4fd4ec790c6e5d6bc44e887090a8286e10fffd2 /client/src/app/shared/shared-main/video | |
parent | 18490b07650d77d7fe376970b749af5a8c672fd6 (diff) | |
download | PeerTube-c418d483004dfbae9ea38d54aa1577db46d34a8a.tar.gz PeerTube-c418d483004dfbae9ea38d54aa1577db46d34a8a.tar.zst PeerTube-c418d483004dfbae9ea38d54aa1577db46d34a8a.zip |
Add new default different avatar for channel and account
Diffstat (limited to 'client/src/app/shared/shared-main/video')
-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) |