mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
refac
This commit is contained in:
parent
d25ccfba5f
commit
771482c6e6
@ -78,15 +78,24 @@
|
|||||||
showControls.set(false);
|
showControls.set(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class=" px-6 py-4 h-full">
|
<div class=" {$showOverview ? ' h-screen w-screen' : 'px-6 py-4'} h-full">
|
||||||
<Controls
|
{#if $showOverview}
|
||||||
on:close={() => {
|
<Overview
|
||||||
showControls.set(false);
|
bind:history
|
||||||
}}
|
on:close={() => {
|
||||||
{models}
|
showControls.set(false);
|
||||||
bind:chatFiles
|
}}
|
||||||
bind:params
|
/>
|
||||||
/>
|
{:else}
|
||||||
|
<Controls
|
||||||
|
on:close={() => {
|
||||||
|
showControls.set(false);
|
||||||
|
}}
|
||||||
|
{models}
|
||||||
|
bind:chatFiles
|
||||||
|
bind:params
|
||||||
|
/>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</Drawer>
|
</Drawer>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user