Fixup some TODOs

This commit is contained in:
Johannes Zellner
2025-04-11 17:30:05 +02:00
parent 11e4542746
commit a430b66a8d
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -107,12 +107,7 @@ async function onChangeFallbackEmail(currentFallbackEmail) {
async function onAvatarChanged(file) {
await profileModel.setAvatar(file);
// TODO we somehow need to do this globally
// invalidate and refresh profile avatar url
const u = new URL(user.value.avatarUrl);
u.searchParams.set('ts', Date.now());
user.value.avatarUrl = u.toString();
await refreshProfile();
}
// Password changes