mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-09 12:45:25 +03:00
Fix camera with -
This commit is contained in:
parent
df6c3b14dd
commit
99232ce200
@ -352,7 +352,8 @@ function PreviewFramesPlayer({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return previewFrames.map((frame) =>
|
return previewFrames.map((frame) =>
|
||||||
parseFloat(frame.split("-")[1].slice(undefined, -5)),
|
// @ts-expect-error we know this item will exist
|
||||||
|
parseFloat(frame.split("-").slice(undefined, -5)),
|
||||||
);
|
);
|
||||||
}, [previewFrames]);
|
}, [previewFrames]);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user