diff options
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, 6 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 69f00fb10..37ff224ab 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 | |||
@@ -101,11 +101,15 @@ export class VideoMiniatureComponent implements OnInit { | |||
101 | ) {} | 101 | ) {} |
102 | 102 | ||
103 | get authorAccount () { | 103 | get authorAccount () { |
104 | return this.serverConfig.client.videos.miniature.showAuthorDisplayName ? this.video.account.displayName : this.video.byAccount | 104 | return this.serverConfig.client.videos.miniature.preferAuthorDisplayName |
105 | ? this.video.account.displayName | ||
106 | : this.video.byAccount | ||
105 | } | 107 | } |
106 | 108 | ||
107 | get authorChannel () { | 109 | get authorChannel () { |
108 | return this.serverConfig.client.videos.miniature.showAuthorDisplayName ? this.video.channel.displayName : this.video.byVideoChannel | 110 | return this.serverConfig.client.videos.miniature.preferAuthorDisplayName |
111 | ? this.video.channel.displayName | ||
112 | : this.video.byVideoChannel | ||
109 | } | 113 | } |
110 | 114 | ||
111 | get isVideoBlur () { | 115 | get isVideoBlur () { |