We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94b1c4 commit 40241c1Copy full SHA for 40241c1
1 file changed
src/views/user/edit/index.ejs
@@ -266,6 +266,7 @@
266
const profile = user.profile;
267
268
avatarPreview.src = profile.avatar || "<%= env.CDN_URL %>/img/default-avatar.svg";
269
+ removeAvatarFlag.value = profile.avatar ? "false" : "true";
270
displayNameInput.value = profile.name;
271
Object.values(userRoleBadges).forEach(badge => badge.classList.add("hidden"));
272
user.identities.forEach(role => {
0 commit comments