mirror of
https://github.com/open-webui/open-webui
synced 2025-06-04 03:37:35 +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') {
|
||||
console.debug(event.data.text);
|
||||
|
||||
if (prompt !== '') {
|
||||
if (event.data.text !== '') {
|
||||
await tick();
|
||||
submitPrompt(event.data.text);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user