mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-10 05:05:26 +03:00
don't display motion events on veritcal bars on motion timeline
This commit is contained in:
parent
6f2d24a05a
commit
15065976f2
@ -244,7 +244,9 @@ export function MotionSegment({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{severity.map((severityValue: number, index: number) => (
|
{severity.map((severityValue: number, index: number) => {
|
||||||
|
if (severityValue > 1) {
|
||||||
|
return (
|
||||||
<React.Fragment key={index}>
|
<React.Fragment key={index}>
|
||||||
<div className="absolute right-0 h-2 z-10">
|
<div className="absolute right-0 h-2 z-10">
|
||||||
<div
|
<div
|
||||||
@ -258,7 +260,11 @@ export function MotionSegment({
|
|||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
);
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user