fix(flowpilot): redirect to Active Sessions after closing session

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Michael Chihlas
2026-03-21 18:33:58 -04:00
parent 6ecb5a9bbd
commit 229ecd4985

View File

@@ -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)}
/>