From 366d81a54638b87cf3450f65faa187644dce9165 Mon Sep 17 00:00:00 2001
From: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
Date: Thu, 3 Jun 2021 00:13:28 +0530
Subject: [PATCH] Round off numbers.
---
src/components/Channel.vue | 2 +-
src/components/SearchResults.vue | 2 +-
src/components/TrendingPage.vue | 2 +-
src/components/WatchVideo.vue | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/Channel.vue b/src/components/Channel.vue
index ba904bf9..fb3f56c9 100644
--- a/src/components/Channel.vue
+++ b/src/components/Channel.vue
@@ -20,7 +20,7 @@
- {{ item.views }} views
+ {{ numberFormat(item.views) }} views
{{ item.uploadedDate }}
diff --git a/src/components/SearchResults.vue b/src/components/SearchResults.vue
index bc896d9a..c2d8cd72 100644
--- a/src/components/SearchResults.vue
+++ b/src/components/SearchResults.vue
@@ -44,7 +44,7 @@
- {{ result.views }} views
+ {{ numberFormat(result.views) }} views
diff --git a/src/components/TrendingPage.vue b/src/components/TrendingPage.vue
index 914cc4bb..f4528a9c 100644
--- a/src/components/TrendingPage.vue
+++ b/src/components/TrendingPage.vue
@@ -27,7 +27,7 @@
- {{ video.views }} views
+ {{ numberFormat(video.views) }} views
{{ video.uploadedDate }}
diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue
index 2db7e5b1..8d1a7845 100644
--- a/src/components/WatchVideo.vue
+++ b/src/components/WatchVideo.vue
@@ -89,7 +89,7 @@
{{ related.uploaderName }}
- {{ related.views }} views
+ {{ numberFormat(related.views) }} views