mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 14:30:20 -05:00
refac
This commit is contained in:
1 parent
b5e51064ef
commit
6d33beebe6
1 file changed
+6
-2
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user