diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-06-18 01:21:39 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-06-18 01:21:39 -0700 |
| commit | 168cd49ae9833a6538a24fd69227fb2138fa06dc (patch) | |
| tree | 330f9cf4ffec3191bc76e1fe05c31247c7139405 /src/components/SubscriberTable/SubscriberTableRow.tsx | |
| parent | 5dfa409a4c33f9502f2dd07dfab653d20f3c2eb0 (diff) | |
add view count to subscriber table
Diffstat (limited to 'src/components/SubscriberTable/SubscriberTableRow.tsx')
| -rw-r--r-- | src/components/SubscriberTable/SubscriberTableRow.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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()} |
