fix(cache): use formatted numbers for displaying cache counts

pull/800/head
sct 4 years ago
parent cfacb151b5
commit 6c437c515f

@ -177,9 +177,9 @@ const SettingsJobs: React.FC = () => {
{cacheData?.map((cache) => (
<tr key={`cache-list-${cache.id}`}>
<Table.TD>{cache.name}</Table.TD>
<Table.TD>{cache.stats.hits}</Table.TD>
<Table.TD>{cache.stats.misses}</Table.TD>
<Table.TD>{cache.stats.keys}</Table.TD>
<Table.TD>{intl.formatNumber(cache.stats.hits)}</Table.TD>
<Table.TD>{intl.formatNumber(cache.stats.misses)}</Table.TD>
<Table.TD>{intl.formatNumber(cache.stats.keys)}</Table.TD>
<Table.TD>{formatBytes(cache.stats.ksize)}</Table.TD>
<Table.TD>{formatBytes(cache.stats.vsize)}</Table.TD>
<Table.TD alignText="right">

Loading…
Cancel
Save