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-video-miniature | |
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-video-miniature')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-miniature.component.ts | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-miniature.component.ts b/client/src/app/shared/shared-video-miniature/video-miniature.component.ts index 8d66aaee2..d74b70d4c 100644 --- a/client/src/app/shared/shared-video-miniature/video-miniature.component.ts +++ b/client/src/app/shared/shared-video-miniature/video-miniature.component.ts | |||
@@ -180,14 +180,6 @@ export class VideoMiniatureComponent implements OnInit { | |||
180 | return '' | 180 | return '' |
181 | } | 181 | } |
182 | 182 | ||
183 | getAvatarUrl () { | ||
184 | if (this.displayOwnerAccount()) { | ||
185 | return this.video.account.avatar?.url | ||
186 | } | ||
187 | |||
188 | return this.video.videoChannelAvatarUrl | ||
189 | } | ||
190 | |||
191 | loadActions () { | 183 | loadActions () { |
192 | if (this.displayVideoActions) this.showActions = true | 184 | if (this.displayVideoActions) this.showActions = true |
193 | 185 | ||