mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
refac
This commit is contained in:
parent
9b25efc3bb
commit
430a79e177
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue