mirror of
https://github.com/siteboon/claudecodeui.git
synced 2025-12-08 21:29:38 +00:00
Solving double case on chatinterface
This commit is contained in:
@@ -2989,21 +2989,6 @@ function ChatInterface({ selectedProject, selectedSession, ws, sendMessage, mess
|
||||
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':
|
||||
// Handle Claude working status messages
|
||||
const statusData = latestMessage.data;
|
||||
|
||||
Reference in New Issue
Block a user