0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-22 19:25:16 +00:00

Added comma into numbers.

This commit is contained in:
CatNowBlue 2022-03-20 02:10:18 +02:00 committed by GitHub
parent 940e4965d5
commit 110ef7199e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,17 +31,17 @@ export default {
this.vidSrc = result.streamingData.formats[result.streamingData.formats.length-1].url
this.title = result.videoDetails.title
this.description = result.videoDetails.shortDescription;
this.views = result.videoDetails.viewCount;
this.views = result.videoDetails.viewCount.toLocaleString();
});
this.$youtube.getRemainingVideoInfo(this.$route.query.v, (data) => {
this.likes = data.likes,
this.likes = data.likes.toLocaleString();
this.uploaded = data.uploadDate;
});
this.$youtube.getReturnYoutubeDislike(this.$route.query.v, (data) => {
this.dislikes = data.dislikes;
this.dislikes = data.dislikes.toLocaleString();
});
}