mirror of
https://github.com/siteboon/claudecodeui.git
synced 2025-12-09 09:39:37 +00:00
Solving double case on chatinterface
This commit is contained in:
@@ -2989,21 +2989,6 @@ function ChatInterface({ selectedProject, selectedSession, ws, sendMessage, mess
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'session-status':
|
|
||||||
// Response to check-session-status request
|
|
||||||
const statusSessionId = latestMessage.sessionId;
|
|
||||||
const isCurrentSession = statusSessionId === currentSessionId ||
|
|
||||||
(selectedSession && statusSessionId === selectedSession.id);
|
|
||||||
if (isCurrentSession && latestMessage.isProcessing) {
|
|
||||||
// Session is currently processing, restore UI state
|
|
||||||
setIsLoading(true);
|
|
||||||
setCanAbortSession(true);
|
|
||||||
if (onSessionProcessing) {
|
|
||||||
onSessionProcessing(statusSessionId);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 'claude-status':
|
case 'claude-status':
|
||||||
// Handle Claude working status messages
|
// Handle Claude working status messages
|
||||||
const statusData = latestMessage.data;
|
const statusData = latestMessage.data;
|
||||||
|
|||||||
Reference in New Issue
Block a user