mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
c42c1ee632
commit
a5683c411a
4 changed files with 1 additions and 13 deletions
|
|
@ -33,7 +33,6 @@
|
|||
import InputVariablesModal from '../chat/MessageInput/InputVariablesModal.svelte';
|
||||
|
||||
export let placeholder = $i18n.t('Send a Message');
|
||||
export let transparentBackground = false;
|
||||
|
||||
export let id = null;
|
||||
|
||||
|
|
|
|||
|
|
@ -2202,9 +2202,6 @@
|
|||
bind:atSelectedModel
|
||||
bind:showCommands
|
||||
toolServers={$toolServers}
|
||||
transparentBackground={$settings?.backgroundImageUrl ??
|
||||
$config?.license_metadata?.background_image_url ??
|
||||
false}
|
||||
{generating}
|
||||
{stopResponse}
|
||||
{createMessagePair}
|
||||
|
|
@ -2258,9 +2255,6 @@
|
|||
bind:webSearchEnabled
|
||||
bind:atSelectedModel
|
||||
bind:showCommands
|
||||
transparentBackground={$settings?.backgroundImageUrl ??
|
||||
$config?.license_metadata?.background_image_url ??
|
||||
false}
|
||||
toolServers={$toolServers}
|
||||
{stopResponse}
|
||||
{createMessagePair}
|
||||
|
|
|
|||
|
|
@ -75,8 +75,6 @@
|
|||
import Voice from '../icons/Voice.svelte';
|
||||
const i18n = getContext('i18n');
|
||||
|
||||
export let transparentBackground = false;
|
||||
|
||||
export let onChange: Function = () => {};
|
||||
export let createMessagePair: Function;
|
||||
export let stopResponse: Function;
|
||||
|
|
@ -929,7 +927,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="{transparentBackground ? 'bg-transparent' : 'bg-white dark:bg-gray-900'} ">
|
||||
<div class="bg-transparent">
|
||||
<div
|
||||
class="{($settings?.widescreenMode ?? null)
|
||||
? 'max-w-full'
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
const i18n = getContext('i18n');
|
||||
|
||||
export let transparentBackground = false;
|
||||
|
||||
export let createMessagePair: Function;
|
||||
export let stopResponse: Function;
|
||||
|
||||
|
|
@ -221,7 +219,6 @@
|
|||
bind:atSelectedModel
|
||||
bind:showCommands
|
||||
{toolServers}
|
||||
{transparentBackground}
|
||||
{stopResponse}
|
||||
{createMessagePair}
|
||||
placeholder={$i18n.t('How can I help you today?')}
|
||||
|
|
|
|||
Loading…
Reference in a new issue