From 974bbf7e4fb2e1c9b4fa883ce1bffae4e3f39f4b Mon Sep 17 00:00:00 2001 From: Andrey Babushkin <55714097+reyand43@users.noreply.github.com> Date: Wed, 28 May 2025 17:36:26 +0200 Subject: [PATCH] fix empty incidents (#3448) --- frontend/app/components/Session_/Player/Controls/EventsList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/Session_/Player/Controls/EventsList.tsx b/frontend/app/components/Session_/Player/Controls/EventsList.tsx index 732613f48..cdaf92d77 100644 --- a/frontend/app/components/Session_/Player/Controls/EventsList.tsx +++ b/frontend/app/components/Session_/Player/Controls/EventsList.tsx @@ -45,7 +45,7 @@ function EventsList() { style={{ left: `${getTimelinePosition(e.time, scale)}%` }} /> ))} - {incidents.map((i) => { + {incidents?.map((i) => { const width = getTimelineEventWidth(endTime, (i as any).time, (i as any).endTime - sessionStart); return (