mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 13:15:25 +03:00
Fix motion data
This commit is contained in:
parent
6940adb7a2
commit
ab7de6634b
@ -134,7 +134,7 @@ export function DesktopRecordingView({
|
|||||||
const { data: motionData } = useSWR<MotionData[]>(
|
const { data: motionData } = useSWR<MotionData[]>(
|
||||||
severity == "significant_motion"
|
severity == "significant_motion"
|
||||||
? [
|
? [
|
||||||
"review/activity",
|
"review/activity/motion",
|
||||||
{
|
{
|
||||||
before: timeRange.end,
|
before: timeRange.end,
|
||||||
after: timeRange.start,
|
after: timeRange.start,
|
||||||
@ -351,7 +351,7 @@ export function MobileRecordingView({
|
|||||||
const { data: motionData } = useSWR<MotionData[]>(
|
const { data: motionData } = useSWR<MotionData[]>(
|
||||||
severity == "significant_motion"
|
severity == "significant_motion"
|
||||||
? [
|
? [
|
||||||
"review/activity",
|
"review/activity/motion",
|
||||||
{
|
{
|
||||||
before: timeRange.end,
|
before: timeRange.end,
|
||||||
after: timeRange.start,
|
after: timeRange.start,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user