mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-09 03:18:18 +00:00
refac
This commit is contained in:
parent
bbab64b53e
commit
646b64a318
2 changed files with 4 additions and 2 deletions
|
|
@ -31,4 +31,3 @@
|
|||
{#if renderToString}
|
||||
{@html renderToString(content, { displayMode, throwOnError: false })}
|
||||
{/if}
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,10 @@
|
|||
</Tooltip>
|
||||
|
||||
<Tooltip content={connection.enabled ? $i18n.t('Enabled') : $i18n.t('Disabled')}>
|
||||
<Switch state={connection.enabled} on:change={() => connection.enabled ? onDisable() : onEnable()} />
|
||||
<Switch
|
||||
state={connection.enabled}
|
||||
on:change={() => (connection.enabled ? onDisable() : onEnable())}
|
||||
/>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue