Browse Source

Set profile page title

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
pull/29872/head
Christopher Ng 4 years ago
committed by nextcloud-command
parent
commit
408e4a1983
  1. 4
      core/js/dist/profile.js
  2. 2
      core/js/dist/profile.js.map
  3. 2
      core/src/views/Profile.vue

4
core/js/dist/profile.js
File diff suppressed because it is too large
View File

2
core/js/dist/profile.js.map
File diff suppressed because it is too large
View File

2
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)
},

Loading…
Cancel
Save