Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/components/PersonalInfo/DisplayNameSection.vue')
-rw-r--r--apps/settings/src/components/PersonalInfo/DisplayNameSection.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue b/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue
index dd5f97966ac..c5517140cd2 100644
--- a/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue
+++ b/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue
@@ -59,6 +59,10 @@ export default {
},
onSave(value) {
+ if (oc_userconfig.avatar.generated) {
+ // Update the avatar version so that avatar update handlers refresh correctly
+ oc_userconfig.avatar.version = Date.now()
+ }
emit('settings:display-name:updated', value)
},
}