mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 00:25:23 +03:00
report 0 for storage usage when api returns null
This commit is contained in:
parent
2714dac78e
commit
6d69232cf5
@ -216,7 +216,7 @@ export function CombinedStorageGraph({
|
|||||||
</Popover>
|
</Popover>
|
||||||
)}
|
)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>{getUnitSize(item.usage)}</TableCell>
|
<TableCell>{getUnitSize(item.usage ?? 0)}</TableCell>
|
||||||
<TableCell>{item.data[0].toFixed(2)}%</TableCell>
|
<TableCell>{item.data[0].toFixed(2)}%</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
{item.name === "Unused"
|
{item.name === "Unused"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user