mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-26 23:29:24 -05:00
refac
This commit is contained in:
1 parent
2eb77fc27f
commit
d786ed56c9
7 files changed
+14
-8
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { getContext, onDestroy } from 'svelte';
|
||||
import {
|
||||
AVATAR_MAX_BYTES,
|
||||
@@ -39,7 +40,7 @@
|
||||
error = $i18n.t('Choose a VRMA file, up to 10 MiB.');
|
||||
return;
|
||||
}
|
||||
const id = crypto.randomUUID();
|
||||
const id = uuidv4();
|
||||
animationFiles = { ...animationFiles, [id]: selected };
|
||||
if (typeof animationTarget === 'number') {
|
||||
value = {
|
||||
|
||||
Reference in new issue
Block a user