From 80dea8f4d6293f8da72483ddb295e92d0b53b42f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 12 Oct 2021 14:25:30 +0200 Subject: Rename config key --- .../shared/shared-video-miniature/video-miniature.component.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'client/src') 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 { ) {} get authorAccount () { - return this.serverConfig.client.videos.miniature.showAuthorDisplayName ? this.video.account.displayName : this.video.byAccount + return this.serverConfig.client.videos.miniature.preferAuthorDisplayName + ? this.video.account.displayName + : this.video.byAccount } get authorChannel () { - return this.serverConfig.client.videos.miniature.showAuthorDisplayName ? this.video.channel.displayName : this.video.byVideoChannel + return this.serverConfig.client.videos.miniature.preferAuthorDisplayName + ? this.video.channel.displayName + : this.video.byVideoChannel } get isVideoBlur () { -- cgit v1.2.3