mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-29 08:31:48 -05:00
refac
This commit is contained in:
1 parent
eee724c82f
commit
eda4fed598
2 files changed
+18
-9
No files matched your search
@@ -240,11 +240,12 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex shrink-0 items-center gap-3 text-gray-500">
|
||||
{#if asset}<button
|
||||
type="button"
|
||||
disabled={!ready || animationsLoading || !!animationErrors[asset.file_id]}
|
||||
on:click={() => preview(mode as AvatarState)}>{$i18n.t('Preview')}</button
|
||||
>{/if}
|
||||
<button
|
||||
type="button"
|
||||
aria-label={`${$i18n.t('Preview')} ${mode}`}
|
||||
disabled={!ready || animationsLoading || !!(asset && animationErrors[asset.file_id])}
|
||||
on:click={() => preview(mode as AvatarState)}>{$i18n.t('Preview')}</button
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
aria-label={`${$i18n.t('Upload')} ${mode} VRMA`}
|
||||
|
||||
Reference in new issue
Block a user