mirror of
https://github.com/open-webui/open-webui.git
synced 2025-04-23 23:10:31 +02:00
Merge pull request #12168 from yak1ex/fix_inconsistent_value_check_in_onMessageHandler_in_Chat_svelte
fix: Inconsistent value check in onMessageHandler() in Chat.svelte
This commit is contained in:
commit
66015bb341
@ -385,7 +385,7 @@
|
||||
if (event.data.type === 'input:prompt:submit') {
|
||||
console.debug(event.data.text);
|
||||
|
||||
if (prompt !== '') {
|
||||
if (event.data.text !== '') {
|
||||
await tick();
|
||||
submitPrompt(event.data.text);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user