Fix profile settings update flow and improve editor UX

This commit is contained in:
Adolfo Reyna
2026-02-20 21:53:10 -05:00
parent 01aeedf950
commit ffb8f9bec5
3 changed files with 125 additions and 35 deletions

4
API.js
View File

@@ -304,6 +304,10 @@ const API = {
return getCall("/user/" + CurrentProfile);
},
updateMyProfile(profile, data) {
if (CurrentProfile) {
delete userNameCache[CurrentProfile];
delete failedProfileCache[CurrentProfile];
}
return postCall("/user/myProfile", {profile, data});
},
searchProfiles(query){