From 168cd49ae9833a6538a24fd69227fb2138fa06dc Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Tue, 18 Jun 2024 01:21:39 -0700
Subject: add view count to subscriber table

---
 src/components/SubscriberTable/SubscriberTableRow.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/components/SubscriberTable/SubscriberTableRow.tsx')

diff --git a/src/components/SubscriberTable/SubscriberTableRow.tsx b/src/components/SubscriberTable/SubscriberTableRow.tsx
index e97af1c..040c693 100644
--- a/src/components/SubscriberTable/SubscriberTableRow.tsx
+++ b/src/components/SubscriberTable/SubscriberTableRow.tsx
@@ -25,6 +25,7 @@ const ChannelRow: React.FC<ChannelRowProps> = ({ channel, index }) => (
         </td>
         <td className="py-3 px-1 sm:px-3 hidden sm:table-cell">{channel.sub_org}</td>
         <td className="py-3 px-1 sm:px-3 hidden sm:table-cell">{channel.video_count}</td>
+        <td className="py-3 px-1 sm:px-3 hidden sm:table-cell">{Number(channel.views).toLocaleString()}</td>
         <td className="py-3 px-1 sm:px-3">{Number(channel.subscribers).toLocaleString()}</td>
         <td className="py-3 px-1 sm:px-3">
             {channel.day_diff > 0 ? `+${Number(channel.day_diff).toLocaleString()}` : Number(channel.day_diff).toLocaleString()}
-- 
cgit v1.2.3

