mirror of
https://github.com/open-webui/open-webui
synced 2025-06-08 15:37:22 +00:00
Fix inconsistent value check.
This commit is contained in:
parent
b03fc97e28
commit
c1f189a602
@ -384,7 +384,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