mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
fix(cache): use formatted numbers for displaying cache counts
This commit is contained in:
@@ -177,9 +177,9 @@ const SettingsJobs: React.FC = () => {
|
|||||||
{cacheData?.map((cache) => (
|
{cacheData?.map((cache) => (
|
||||||
<tr key={`cache-list-${cache.id}`}>
|
<tr key={`cache-list-${cache.id}`}>
|
||||||
<Table.TD>{cache.name}</Table.TD>
|
<Table.TD>{cache.name}</Table.TD>
|
||||||
<Table.TD>{cache.stats.hits}</Table.TD>
|
<Table.TD>{intl.formatNumber(cache.stats.hits)}</Table.TD>
|
||||||
<Table.TD>{cache.stats.misses}</Table.TD>
|
<Table.TD>{intl.formatNumber(cache.stats.misses)}</Table.TD>
|
||||||
<Table.TD>{cache.stats.keys}</Table.TD>
|
<Table.TD>{intl.formatNumber(cache.stats.keys)}</Table.TD>
|
||||||
<Table.TD>{formatBytes(cache.stats.ksize)}</Table.TD>
|
<Table.TD>{formatBytes(cache.stats.ksize)}</Table.TD>
|
||||||
<Table.TD>{formatBytes(cache.stats.vsize)}</Table.TD>
|
<Table.TD>{formatBytes(cache.stats.vsize)}</Table.TD>
|
||||||
<Table.TD alignText="right">
|
<Table.TD alignText="right">
|
||||||
|
|||||||
Reference in New Issue
Block a user