File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ function BoxAISidebarContent(props: ApiWrapperWithInjectedProps) {
4141 encodedSession,
4242 onClearAction,
4343 getAIStudioAgents,
44+ hasRequestInProgress,
4445 hostAppName,
4546 isAIStudioAgentSelectorEnabled,
4647 isLoading,
@@ -150,6 +151,7 @@ function BoxAISidebarContent(props: ApiWrapperWithInjectedProps) {
150151 { isAIStudioAgentSelectorEnabled && (
151152 < div className = "bcs-BoxAISidebar-agentSelector" >
152153 < BoxAiAgentSelectorWithApi
154+ disabled = { hasRequestInProgress }
153155 fetcher = { getAIStudioAgents }
154156 hostAppName = { hostAppName }
155157 onAgentsListOpen = { handleUserIntentToUseAI }
@@ -214,6 +216,7 @@ function BoxAISidebarContent(props: ApiWrapperWithInjectedProps) {
214216 contentType = { formatMessage ( messages . sidebarBoxAIContent ) }
215217 extension = { fileExtension }
216218 getAIStudioAgents = { getAIStudioAgents }
219+ hasRequestInProgress = { hasRequestInProgress }
217220 hostAppName = { hostAppName }
218221 isAIStudioAgentSelectorEnabled = { isAIStudioAgentSelectorEnabled }
219222 isFeedbackEnabled = { isFeedbackEnabled }
You can’t perform that action at this time.
0 commit comments