Fix href for cameras direct link (#4875)

This commit is contained in:
Nicolas Mowen 2023-01-03 18:32:56 -07:00 committed by GitHub
parent b6592c67d1
commit ebef38e408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ function Camera({ name }) {
const href = `/cameras/${name}`;
const buttons = useMemo(() => {
return [
{ name: 'Events', href: `/events?camera=${name}` },
{ name: 'Events', href: `/events?cameras=${name}` },
{ name: 'Recordings', href: `/recording/${name}` },
];
}, [name]);