From b06fe1b8de24188362e08a9c0c4c059f904b1cd8 Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Thu, 22 Feb 2024 10:52:19 +0100 Subject: [PATCH] fix: ensure timeline obj part ids are unique --- apps/app/src/lib/timeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app/src/lib/timeline.ts b/apps/app/src/lib/timeline.ts index dce329ef..a660a5c7 100644 --- a/apps/app/src/lib/timeline.ts +++ b/apps/app/src/lib/timeline.ts @@ -219,7 +219,7 @@ function sectionToTimelineObj( if (usePart) { // Add the part to the timeline: const obj: TimelineObject | null = partToTimelineObj( - makeUniqueId(part.part.id), + makeUniqueId(`${id}_${part.part.id}`), group, part, partStartTime,