From 325b0d178c04e0d5bac12bcb170a9ad49a0b11cb Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Mon, 26 Oct 2026 09:49:37 -0700 Subject: [PATCH] fix: disable moving a session again while a move runs Co-Authored-By: Claude Opus 5.5 (1M context) --- frontend/src/lib/components/sessions/SessionWrapper.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/sessions/SessionWrapper.svelte b/frontend/src/lib/components/sessions/SessionWrapper.svelte index 635099de53..f6b4b4bf8a 100644 --- a/frontend/src/lib/components/sessions/SessionWrapper.svelte +++ b/frontend/src/lib/components/sessions/SessionWrapper.svelte @@ -467,7 +467,7 @@ async function startMove(target: MoveTarget) { const parent = actingWorkspaceId - if (!session || !parent || !canMoveToFork) return + if (!session || !parent || !canMoveToFork || moving) return if (target.kind === 'existing' && target.id === parent) return const listed = await listMoveItems(parent, target) if (typeof listed === 'string') { @@ -685,7 +685,7 @@ icon: GitFork, // Before the first message, the "Run in" picker sets the workspace instead. hide: !hasFirstUserMessage || isUnavailable || session.archived, - disabled: !canMoveToFork, + disabled: !canMoveToFork || moving, action: () => (movePickerOpen = true) }, ...(session.archived