mirror of
https://github.com/open-webui/open-webui
synced 2025-05-30 02:02:13 +00:00
refac
This commit is contained in:
parent
9b25efc3bb
commit
430a79e177
@ -163,7 +163,7 @@
|
|||||||
placement="top-start"
|
placement="top-start"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
class="w-full outline-none"
|
class="w-full outline-none bg-transparent"
|
||||||
bind:value={taskConfig.AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH}
|
bind:value={taskConfig.AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH}
|
||||||
placeholder={$i18n.t('-1 for no limit, or a positive integer for a specific limit')}
|
placeholder={$i18n.t('-1 for no limit, or a positive integer for a specific limit')}
|
||||||
/>
|
/>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
$: if (textareaElement) {
|
$: if (textareaElement) {
|
||||||
if (textareaElement.innerText !== value && value !== '') {
|
if (textareaElement.innerText !== value && value !== '') {
|
||||||
textareaElement.innerText = value;
|
textareaElement.innerText = value ?? '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user