forked from Github/frigate
fix videojs bug when switching cameras, support recording delay, fix navigation highlight
This commit is contained in:
committed by
Blake Blackshear
parent
ca20c735f7
commit
9822d614e2
@@ -27,13 +27,17 @@ export default function Sidebar() {
|
||||
) : null
|
||||
}
|
||||
</Match>
|
||||
<Match path="/recordings/:camera/:date?/:hour?">
|
||||
<Match path="/recordings/:camera/:date?/:hour?/:seconds?">
|
||||
{({ matches }) =>
|
||||
matches ? (
|
||||
<Fragment>
|
||||
<Separator />
|
||||
{cameras.map((camera) => (
|
||||
<Destination href={`/recordings/${camera}`} text={camera} />
|
||||
<Destination
|
||||
path={`/recordings/${camera}/:date?/:hour?/:seconds?`}
|
||||
href={`/recordings/${camera}`}
|
||||
text={camera}
|
||||
/>
|
||||
))}
|
||||
<Separator />
|
||||
</Fragment>
|
||||
|
||||
Reference in New Issue
Block a user