mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
fix: await submitPrompt and clear input on URL param submission
- Add await to submitPrompt call when submitting via URL search params - Clear message input after prompt submission - Increase Node.js heap size to 8192 in Dockerfile - Update ddgs dependency from 9.11.2 to 9.11.4
This commit is contained in:
parent
4e2240aada
commit
be9ed3d378
1 changed files with 2 additions and 1 deletions
|
|
@ -1298,7 +1298,8 @@
|
|||
if (q) {
|
||||
if (($page.url.searchParams.get('submit') ?? 'true') === 'true') {
|
||||
await tick();
|
||||
submitHandler(q);
|
||||
await submitHandler(q);
|
||||
messageInput?.setText('');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue