mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: reset isCondensing state when switching tasks
Fixes #6919 - Context condensing indicator no longer persists when switching between tasks. The isCondensing state is now properly reset in the useEffect hook that handles task changes.
This commit is contained in:
parent
f53fd39014
commit
2702a4e4f5
1 changed files with 1 additions and 0 deletions
|
|
@ -437,6 +437,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
|
|||
setExpandedRows({})
|
||||
everVisibleMessagesTsRef.current.clear() // Clear for new task
|
||||
setCurrentFollowUpTs(null) // Clear follow-up answered state for new task
|
||||
setIsCondensing(false) // Reset condensing state when switching tasks
|
||||
|
||||
// Clear any pending auto-approval timeout from previous task
|
||||
if (autoApproveTimeoutRef.current) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue