From 890a97d0714aff61b9867f20ee51e9fcce9e2db2 Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Tue, 9 Sep 2025 15:59:39 +0200 Subject: [PATCH] fix: allow moving a group after another --- apps/client/src/features/rundown/rundown.utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/features/rundown/rundown.utils.ts b/apps/client/src/features/rundown/rundown.utils.ts index e9f007632..43a00675b 100644 --- a/apps/client/src/features/rundown/rundown.utils.ts +++ b/apps/client/src/features/rundown/rundown.utils.ts @@ -41,9 +41,9 @@ export function canDrop( order?: 'after' | 'before', isTargetCollapsed?: boolean, ): boolean { - // this would mean inserting a group inside another + // inserting before would mean adding a group inside another if (targetType === 'end-group') { - return false; + return order === 'after'; } // this means swapping places with another group