mirror of
https://github.com/open-webui/open-webui
synced 2025-05-20 13:15:13 +00: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') {
|
if (event.data.type === 'input:prompt:submit') {
|
||||||
console.debug(event.data.text);
|
console.debug(event.data.text);
|
||||||
|
|
||||||
if (prompt !== '') {
|
if (event.data.text !== '') {
|
||||||
await tick();
|
await tick();
|
||||||
submitPrompt(event.data.text);
|
submitPrompt(event.data.text);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user