mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +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>
|
||||
)}
|
||||
</TableCell>
|
||||
<TableCell>{getUnitSize(item.usage)}</TableCell>
|
||||
<TableCell>{getUnitSize(item.usage ?? 0)}</TableCell>
|
||||
<TableCell>{item.data[0].toFixed(2)}%</TableCell>
|
||||
<TableCell>
|
||||
{item.name === "Unused"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user