aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video-miniature/video-miniature.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/video-miniature.component.ts')
-rw-r--r--client/src/app/shared/shared-video-miniature/video-miniature.component.ts5
1 files changed, 3 insertions, 2 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 cc5665ab1..f08be9c25 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
@@ -183,7 +183,7 @@ export class VideoMiniatureComponent implements OnInit {
183 } 183 }
184 184
185 getAvatarUrl () { 185 getAvatarUrl () {
186 if (this.ownerDisplayTypeChosen === 'account') { 186 if (this.displayOwnerAccount()) {
187 return this.video.accountAvatarUrl 187 return this.video.accountAvatarUrl
188 } 188 }
189 189
@@ -250,7 +250,8 @@ export class VideoMiniatureComponent implements OnInit {
250 return 250 return
251 } 251 }
252 252
253 // If the video channel name an UUID (not really displayable, we changed this behaviour in v1.0.0-beta.12) 253 // If the video channel name is an UUID (not really displayable, we changed this behaviour in v1.0.0-beta.12)
254 // Or is just a suffix of the account (default created channel)
254 // -> Use the account name 255 // -> Use the account name
255 if ( 256 if (
256 this.video.channel.name === `${this.video.account.name}_channel` || 257 this.video.channel.name === `${this.video.account.name}_channel` ||