Don't fall out when all recording segments exist

This commit is contained in:
Nicolas Mowen 2025-12-30 09:05:25 -07:00
parent bb59dfe5b9
commit c3856f4b19

View File

@ -111,7 +111,7 @@ export function MotionReviewTimeline({
const getRecordingAvailability = useCallback(
(time: number): boolean | undefined => {
if (!noRecordingRanges?.length) return undefined;
if (noRecordingRanges == undefined) return undefined;
return !noRecordingRanges.some(
(range) => time >= range.start_time && time < range.end_time,