Don't prompt to create persona if replacing an image
This commit is contained in:
parent
ea583e0ff5
commit
4277aac974
|
@ -5187,7 +5187,7 @@ async function uploadUserAvatar(e) {
|
||||||
reloadUserAvatar(true);
|
reloadUserAvatar(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.path) {
|
if (!name && data.path) {
|
||||||
await getUserAvatars();
|
await getUserAvatars();
|
||||||
await delay(500);
|
await delay(500);
|
||||||
await createPersona(data.path);
|
await createPersona(data.path);
|
||||||
|
|
Loading…
Reference in New Issue