Turn the subscriber number into an integer number. Sometimes an issue with a somewhat low decimal 1 caused the number to have 9 decimal places
This commit is contained in:
parent
6e5e1e0542
commit
4e822d8093
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue