aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-12 14:25:30 +0200
committerChocobozzz <me@florianbigard.com>2021-10-12 14:25:30 +0200
commit80dea8f4d6293f8da72483ddb295e92d0b53b42f (patch)
treede57b5e72110be074e36ed07fd2262656b68b126 /client/src/app
parent7399a79f73cc2015e64fad49361439a322ee1d3b (diff)
downloadPeerTube-80dea8f4d6293f8da72483ddb295e92d0b53b42f.tar.gz
PeerTube-80dea8f4d6293f8da72483ddb295e92d0b53b42f.tar.zst
PeerTube-80dea8f4d6293f8da72483ddb295e92d0b53b42f.zip
Rename config key
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/shared-video-miniature/video-miniature.component.ts8
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 () {