From 854fd08f9c521b9dcadfb255a4145fdc815f9de4 Mon Sep 17 00:00:00 2001 From: Preston Date: Tue, 6 Oct 2020 17:45:30 -0400 Subject: [PATCH] Hide subscriber count in channel view if 0 is returned --- src/renderer/views/Channel/Channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/views/Channel/Channel.js b/src/renderer/views/Channel/Channel.js index 3302d23c..e793c2db 100644 --- a/src/renderer/views/Channel/Channel.js +++ b/src/renderer/views/Channel/Channel.js @@ -248,7 +248,7 @@ export default Vue.extend({ ytch.getChannelInfo(this.id).then((response) => { this.id = response.authorId this.channelName = response.author - if (this.hideChannelSubscriptions) { + if (this.hideChannelSubscriptions || response.subscriberCount === 0) { this.subCount = null } else { this.subCount = response.subscriberCount.toFixed(0)