File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
refact-agent/gui/src/components/ChatContent Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import { popBackTo } from "../../features/Pages/pagesSlice";
32
32
import { ChatLinks , UncommittedChangesWarning } from "../ChatLinks" ;
33
33
import { telemetryApi } from "../../services/refact/telemetry" ;
34
34
import { PlaceHolderText } from "./PlaceHolderText" ;
35
+ import { getConfirmationPauseStatus } from "../../features/ToolConfirmation/confirmationSlice" ;
35
36
36
37
export type ChatContentProps = {
37
38
onRetry : ( index : number , question : UserMessage [ "content" ] ) => void ;
@@ -52,6 +53,7 @@ export const ChatContent: React.FC<ChatContentProps> = ({
52
53
const [ sendTelemetryEvent ] =
53
54
telemetryApi . useLazySendTelemetryChatEventQuery ( ) ;
54
55
const integrationMeta = useAppSelector ( selectIntegration ) ;
56
+ const isWaitingForConfirmation = useAppSelector ( getConfirmationPauseStatus ) ;
55
57
56
58
const {
57
59
handleScroll,
@@ -115,7 +117,7 @@ export const ChatContent: React.FC<ChatContentProps> = ({
115
117
< UncommittedChangesWarning />
116
118
117
119
< Container py = "4" >
118
- < Spinner spinning = { isWaiting } />
120
+ < Spinner spinning = { isWaiting && ! isWaitingForConfirmation } />
119
121
</ Container >
120
122
</ Flex >
121
123
{ showFollowButton && (
You can’t perform that action at this time.
0 commit comments