mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue