Skip to content

Commit 4c5cd02

Browse files
authored
Fix confusing storage display when calculating per camera usage (blakeblackshear#5835)
1 parent 7d589bd commit 4c5cd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/routes/Storage.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default function Storage() {
128128
<Tbody>
129129
<Tr>
130130
<Td>{Math.round(camera['usage_percent'] ?? 0)}%</Td>
131-
<Td>{camera['bandwidth'] ? getUnitSize(camera['bandwidth']) : 'Calculating...'}/hr</Td>
131+
<Td>{camera['bandwidth'] ? `${getUnitSize(camera['bandwidth'])}/hr` : 'Calculating...'}</Td>
132132
</Tr>
133133
</Tbody>
134134
</Table>

0 commit comments

Comments
 (0)