Show calculating if no value for stream bandwidth

This commit is contained in:
Nick Mowen 2022-12-11 09:27:56 -07:00
parent 39bbc90dad
commit 2af362e894

View File

@ -97,7 +97,7 @@ export default function Storage() {
<Tbody>
<Tr>
<Td>{Math.round(camera['usage_percent'] ?? 0)}%</Td>
<Td>{camera['bandwidth']} MB/hr</Td>
<Td>{camera['bandwidth'] ? camera['bandwidth'] : "Calculating..."} MB/hr</Td>
</Tr>
</Tbody>
</Table>