Cleanup names of cameras, zones, & labels in the UI (#3708)

* Cleanup names of cameras, zones, & labels in the UI

* Fix tests to include camera name
This commit is contained in:
Nicolas Mowen
2022-08-25 05:44:34 -06:00
committed by GitHub
parent 911d6fdfa7
commit 0d6dd1ed0f
7 changed files with 16 additions and 11 deletions

View File

@@ -120,7 +120,7 @@ export default function Camera({ camera }) {
return (
<div className="space-y-4 p-2 px-4">
<Heading size="2xl">{camera}</Heading>
<Heading size="2xl">{camera.replaceAll('_', ' ')}</Heading>
<ButtonsTabbed viewModes={['live', 'debug']} setViewMode={setViewMode} />
{player}