mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-08-28 03:46:29 +00:00
fix: correct bug in stats panel date format for "Total Size" stats
This commit is contained in:
@@ -90,7 +90,8 @@ const StatsPanel = ({ selector }: { selector: OpSelector }) => {
|
||||
dataKey="totalSizeBytes"
|
||||
tickFormatter={(v) => formatBytes(v)}
|
||||
/>
|
||||
<Tooltip labelFormatter={(v) => formatBytes(v as number)}/>
|
||||
<Tooltip labelFormatter={(x) => formatDate(x as number)}
|
||||
formatter={(y) => [formatBytes(y as number), 'Total Size']}/>
|
||||
<Legend />
|
||||
<Line
|
||||
yAxisId="left"
|
||||
|
||||
Reference in New Issue
Block a user