mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-11 22:52:54 +00:00
refac
This commit is contained in:
parent
8556033c6b
commit
3808eace6c
2 changed files with 3 additions and 3 deletions
|
|
@ -2209,7 +2209,7 @@
|
|||
|
||||
if (query || eventFiles?.length) {
|
||||
if (query) {
|
||||
messageInput?.setText(query);
|
||||
await messageInput?.setText(query);
|
||||
}
|
||||
await tick();
|
||||
submitHandler(query || '');
|
||||
|
|
@ -2217,7 +2217,7 @@
|
|||
}
|
||||
} else if ($page.url.searchParams.get('q')) {
|
||||
const q = $page.url.searchParams.get('q') ?? '';
|
||||
messageInput?.setText(q);
|
||||
await messageInput?.setText(q);
|
||||
|
||||
if (q) {
|
||||
if (($page.url.searchParams.get('submit') ?? 'true') === 'true') {
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
/>
|
||||
|
||||
<div
|
||||
class="flex h-full min-h-0 flex-col bg-white text-[0.75em] font-normal text-gray-600 dark:bg-black dark:text-gray-400"
|
||||
class="flex h-full min-h-0 flex-col text-[0.75em] font-normal text-gray-600 dark:text-gray-400"
|
||||
aria-label={$i18n.t('Compare')}
|
||||
>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue