mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 12:37:43 +03:00
Lint fixes
This commit is contained in:
parent
31dfd97493
commit
4353fdbd4d
@ -121,7 +121,8 @@ export function MotionReviewTimeline({
|
||||
);
|
||||
|
||||
const segmentMotion =
|
||||
firstHalfMotionValue.totalMotion > 0 || secondHalfMotionValue.totalMotion > 0;
|
||||
firstHalfMotionValue.totalMotion > 0 ||
|
||||
secondHalfMotionValue.totalMotion > 0;
|
||||
if (segmentMotion && !overlappingReviewItems) {
|
||||
segments.push(segmentTime);
|
||||
}
|
||||
|
||||
@ -237,7 +237,8 @@ export function MotionSegment({
|
||||
secondHalfSegmentWidth
|
||||
? "bg-motion_review"
|
||||
: "bg-muted-foreground",
|
||||
secondHalfSegmentWidth && secondHalfMotionValue.isCalibrating
|
||||
secondHalfSegmentWidth &&
|
||||
secondHalfMotionValue.isCalibrating
|
||||
? "bg-motion_review_is_calibrating"
|
||||
: "",
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user