From 5f976aeb76e0cb177ada766373ea0e678511b082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=91=D0=B0=D0=B1?= =?UTF-8?q?=D1=83=D1=88=D0=BA=D0=B8=D0=BD?= Date: Wed, 28 May 2025 17:25:18 +0200 Subject: [PATCH] fix empty incidents --- 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 (