mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac
This commit is contained in:
@@ -861,7 +861,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<textarea
|
<textarea
|
||||||
id="chat-input"
|
id="chat-input"
|
||||||
dir="auto"
|
dir={$settings?.chatDirection ?? 'auto'}
|
||||||
bind:this={chatInputElement}
|
bind:this={chatInputElement}
|
||||||
class="scrollbar-hidden bg-transparent dark:text-gray-200 outline-hidden w-full pt-3 px-1 resize-none"
|
class="scrollbar-hidden bg-transparent dark:text-gray-200 outline-hidden w-full pt-3 px-1 resize-none"
|
||||||
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
|
placeholder={placeholder ? placeholder : $i18n.t('Send a Message')}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
import { getChatList, getChatListBySearchText } from '$lib/apis/chats';
|
import { getChatList, getChatListBySearchText } from '$lib/apis/chats';
|
||||||
import Spinner from '../common/Spinner.svelte';
|
import Spinner from '../common/Spinner.svelte';
|
||||||
|
|
||||||
import dayjs from 'dayjs';
|
import dayjs from '$lib/dayjs';
|
||||||
import calendar from 'dayjs/plugin/calendar';
|
import calendar from 'dayjs/plugin/calendar';
|
||||||
import Loader from '../common/Loader.svelte';
|
import Loader from '../common/Loader.svelte';
|
||||||
dayjs.extend(calendar);
|
dayjs.extend(calendar);
|
||||||
|
|||||||
Reference in New Issue
Block a user