Merge pull request #84 from GilgusMaximus/master

Turn the subscriber number into an integer number.
This commit is contained in:
Preston 2020-08-19 17:51:58 -04:00 committed by GitHub
commit bcf6235056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ export default Vue.extend({
ytch.getChannelInfo(this.id).then((response) => {
this.id = response.authorId
this.channelName = response.author
this.subCount = response.subscriberCount
this.subCount = response.subscriberCount.toFixed(0)
this.thumbnailUrl = response.authorThumbnails[2].url
this.channelDescription = autolinker.link(response.description)
this.relatedChannels = response.relatedChannels