diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-28 15:59:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-28 15:59:46 +0200 |
commit | 7d026caf683e42fd57a243a3b52a5e4f476fbb4e (patch) | |
tree | af2b695e2470f709727f3ff24828198b7d0fd0fe /client/src/app/shared/shared-main/video | |
parent | 746018f6b81b40e8858303662ac9ec5ce59ac6eb (diff) | |
download | PeerTube-7d026caf683e42fd57a243a3b52a5e4f476fbb4e.tar.gz PeerTube-7d026caf683e42fd57a243a3b52a5e4f476fbb4e.tar.zst PeerTube-7d026caf683e42fd57a243a3b52a5e4f476fbb4e.zip |
Remove avatarUrl from models
Diffstat (limited to 'client/src/app/shared/shared-main/video')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.model.ts | 3 |
1 files changed, 0 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 14c507295..526d10e32 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -20,8 +20,6 @@ export class Video implements VideoServerModel { | |||
20 | byVideoChannel: string | 20 | byVideoChannel: string |
21 | byAccount: string | 21 | byAccount: string |
22 | 22 | ||
23 | videoChannelAvatarUrl: string | ||
24 | |||
25 | createdAt: Date | 23 | createdAt: Date |
26 | updatedAt: Date | 24 | updatedAt: Date |
27 | publishedAt: Date | 25 | publishedAt: Date |
@@ -143,7 +141,6 @@ export class Video implements VideoServerModel { | |||
143 | 141 | ||
144 | this.byAccount = Actor.CREATE_BY_STRING(hash.account.name, hash.account.host) | 142 | this.byAccount = Actor.CREATE_BY_STRING(hash.account.name, hash.account.host) |
145 | this.byVideoChannel = Actor.CREATE_BY_STRING(hash.channel.name, hash.channel.host) | 143 | this.byVideoChannel = Actor.CREATE_BY_STRING(hash.channel.name, hash.channel.host) |
146 | this.videoChannelAvatarUrl = VideoChannel.GET_ACTOR_AVATAR_URL(this.channel) | ||
147 | 144 | ||
148 | this.category.label = peertubeTranslate(this.category.label, translations) | 145 | this.category.label = peertubeTranslate(this.category.label, translations) |
149 | this.licence.label = peertubeTranslate(this.licence.label, translations) | 146 | this.licence.label = peertubeTranslate(this.licence.label, translations) |