File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/frontend/src/components/Answer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ export const Answer = ({
80
80
title = { t ( "tooltips.showThoughtProcess" ) }
81
81
ariaLabel = { t ( "tooltips.showThoughtProcess" ) }
82
82
onClick = { ( ) => onThoughtProcessClicked ( ) }
83
- disabled = { ! answer . context . thoughts ?. length }
83
+ disabled = { ! answer . context . thoughts ?. length || isStreaming }
84
84
/>
85
85
< IconButton
86
86
style = { { color : "black" } }
87
87
iconProps = { { iconName : "ClipboardList" } }
88
88
title = { t ( "tooltips.showSupportingContent" ) }
89
89
ariaLabel = { t ( "tooltips.showSupportingContent" ) }
90
90
onClick = { ( ) => onSupportingContentClicked ( ) }
91
- disabled = { ! answer . context . data_points }
91
+ disabled = { ! answer . context . data_points || isStreaming }
92
92
/>
93
93
{ showSpeechOutputAzure && (
94
94
< SpeechOutputAzure answer = { sanitizedAnswerHtml } index = { index } speechConfig = { speechConfig } isStreaming = { isStreaming } />
You can’t perform that action at this time.
0 commit comments