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);
|
||||
}
|
||||
|
||||
if (data.path) {
|
||||
if (!name && data.path) {
|
||||
await getUserAvatars();
|
||||
await delay(500);
|
||||
await createPersona(data.path);
|
||||
|
|
Loading…
Reference in New Issue