mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 19:17:41 +03:00
fix recordings check
This commit is contained in:
parent
717517aeb5
commit
14e9b66e98
@ -203,7 +203,7 @@ export default function DynamicVideoPlayer({
|
|||||||
* that the segment has.
|
* that the segment has.
|
||||||
*/
|
*/
|
||||||
const inpointOffset = useMemo(() => {
|
const inpointOffset = useMemo(() => {
|
||||||
if (!recordingParams || !recordings) {
|
if (!recordingParams || !recordings || recordings?.length === 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user