Skip to content

Commit

Permalink
Disable input when sending file (#9064)
Browse files Browse the repository at this point in the history
  • Loading branch information
PopDaph authored Dec 2, 2024
1 parent 02463be commit 41b30bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extension/app/src/components/input_bar/InputBarContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ export const InputBarContainer = ({
onActionChange={(action) => {
setIncludeTab(action === SendWithContentAction);
}}
disabled={isSubmitting || editorService.isEmpty()}
disabled={
isSubmitting ||
editorService.isEmpty() ||
fileUploaderService.isProcessingFiles
}
/>
</div>
</div>
Expand Down

0 comments on commit 41b30bc

Please sign in to comment.