mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix href for cameras direct link (#4875)
This commit is contained in:
parent
b6592c67d1
commit
ebef38e408
@ -46,7 +46,7 @@ function Camera({ name }) {
|
|||||||
const href = `/cameras/${name}`;
|
const href = `/cameras/${name}`;
|
||||||
const buttons = useMemo(() => {
|
const buttons = useMemo(() => {
|
||||||
return [
|
return [
|
||||||
{ name: 'Events', href: `/events?camera=${name}` },
|
{ name: 'Events', href: `/events?cameras=${name}` },
|
||||||
{ name: 'Recordings', href: `/recording/${name}` },
|
{ name: 'Recordings', href: `/recording/${name}` },
|
||||||
];
|
];
|
||||||
}, [name]);
|
}, [name]);
|
||||||
|
Loading…
Reference in New Issue
Block a user