aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/Profile.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/views/Profile.vue b/core/src/views/Profile.vue
index 0d855fc38cc..c81f214c7ae 100644
--- a/core/src/views/Profile.vue
+++ b/core/src/views/Profile.vue
@@ -264,6 +264,8 @@ export default {
},
mounted() {
+ // Set the user's displayname or userId in the page title and preserve the default title of "Nextcloud" at the end
+ document.title = `${this.displayname || this.userId} - ${document.title}`
subscribe('user_status:status.updated', this.handleStatusUpdate)
},