From 229ecd49855333abb0dd2ad47b6a991cf2f4f554 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Sat, 21 Mar 2026 18:33:58 -0400 Subject: [PATCH] fix(flowpilot): redirect to Active Sessions after closing session Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/pages/FlowPilotSessionPage.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/FlowPilotSessionPage.tsx b/frontend/src/pages/FlowPilotSessionPage.tsx index 7dc78ad0..ae882140 100644 --- a/frontend/src/pages/FlowPilotSessionPage.tsx +++ b/frontend/src/pages/FlowPilotSessionPage.tsx @@ -230,7 +230,10 @@ export default function FlowPilotSessionPage() { onEscalate={fp.escalateSession} onPause={fp.pauseSession} onResume={fp.resumeOwnSession} - onAbandon={fp.abandonSession} + onAbandon={async () => { + await fp.abandonSession() + navigate('/sessions') + }} onRate={fp.rateSession} onReloadSession={() => fp.loadSession(fp.session!.id)} />