mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-13 09:11:19 +00:00
refac
This commit is contained in:
parent
b5e51064ef
commit
6d33beebe6
1 changed files with 6 additions and 2 deletions
|
|
@ -294,7 +294,9 @@
|
|||
>
|
||||
<!-- File preview -->
|
||||
{#if fileLoading}
|
||||
<div class="flex items-center justify-center h-full"><Spinner className="size-4" /></div>
|
||||
<div class="flex items-center justify-center h-full">
|
||||
<Spinner className="size-3.5 text-gray-400 dark:text-gray-500" />
|
||||
</div>
|
||||
{:else if fileImageUrl !== null}
|
||||
<PanzoomContainer
|
||||
bind:this={panzoomRef}
|
||||
|
|
@ -336,7 +338,9 @@
|
|||
{:else if fileModelData !== null}
|
||||
{#key fileModelData}
|
||||
{#await import('../../common/ModelPreview.svelte')}
|
||||
<div class="flex h-full items-center justify-center"><Spinner className="size-4" /></div>
|
||||
<div class="flex h-full items-center justify-center">
|
||||
<Spinner className="size-3.5 text-gray-400 dark:text-gray-500" />
|
||||
</div>
|
||||
{:then { default: ModelPreview }}
|
||||
<ModelPreview
|
||||
data={fileModelData}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue