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:
@@ -230,7 +230,10 @@ export default function FlowPilotSessionPage() {
|
|||||||
onEscalate={fp.escalateSession}
|
onEscalate={fp.escalateSession}
|
||||||
onPause={fp.pauseSession}
|
onPause={fp.pauseSession}
|
||||||
onResume={fp.resumeOwnSession}
|
onResume={fp.resumeOwnSession}
|
||||||
onAbandon={fp.abandonSession}
|
onAbandon={async () => {
|
||||||
|
await fp.abandonSession()
|
||||||
|
navigate('/sessions')
|
||||||
|
}}
|
||||||
onRate={fp.rateSession}
|
onRate={fp.rateSession}
|
||||||
onReloadSession={() => fp.loadSession(fp.session!.id)}
|
onReloadSession={() => fp.loadSession(fp.session!.id)}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user