Merge pull request #2753 from open-webui/dev

fix
This commit is contained in:
Timothy Jaeryang Baek
2024-06-02 22:36:43 -07:00
committed by GitHub

View File

@@ -833,7 +833,7 @@
]?.at(-1);
if (!commandOptionButton) {
if (e.key === 'Enter' && !e.shiftKey && prompt !== '' && selected) {
if (e.key === 'Enter' && !e.shiftKey && prompt !== '') {
submitPrompt(prompt, user);
return;
}