diff --git a/web/src/App.jsx b/web/src/App.jsx index df8516ca4..49d572736 100644 --- a/web/src/App.jsx +++ b/web/src/App.jsx @@ -29,7 +29,7 @@ export default function App() { - + diff --git a/web/src/Sidebar.jsx b/web/src/Sidebar.jsx index 8ddc1ea7d..60c1e46eb 100644 --- a/web/src/Sidebar.jsx +++ b/web/src/Sidebar.jsx @@ -27,15 +27,15 @@ export default function Sidebar() { ) : null } - + {({ matches }) => matches ? ( {cameras.map((camera) => ( ))} diff --git a/web/src/components/RecordingPlaylist.jsx b/web/src/components/RecordingPlaylist.jsx index dedb130ea..ad76fd6bd 100644 --- a/web/src/components/RecordingPlaylist.jsx +++ b/web/src/components/RecordingPlaylist.jsx @@ -29,7 +29,7 @@ export default function RecordingPlaylist({ camera, recordings, selectedDate, se }`} >
- + {item.hour}:00
@@ -87,7 +87,7 @@ export function EventCard({ camera, event, delay }) { const duration = addSeconds(new Date(0), differenceInSeconds(end, start)); const seconds = Math.max(differenceInSeconds(start, startOfHour(start)) - delay - 10, 0); return ( - +
diff --git a/web/src/routes/Cameras.jsx b/web/src/routes/Cameras.jsx index 121c937ba..a0a1758ea 100644 --- a/web/src/routes/Cameras.jsx +++ b/web/src/routes/Cameras.jsx @@ -30,7 +30,7 @@ function Camera({ name }) { const href = `/cameras/${name}`; const buttons = useMemo(() => [ { name: 'Events', href: `/events?camera=${name}` }, - { name: 'Recordings', href: `/recordings/${name}` } + { name: 'Recordings', href: `/recording/${name}` } ], [name]); const icons = useMemo( () => [