Skip to content
Snippets Groups Projects
Unverified Commit 3c3b4eb2 authored by Zero King's avatar Zero King Committed by GitHub
Browse files

Fix undefined user page title (#7436)

parent 1019e0bc
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@ export default defineComponent({
data() {
return {
[symbols.PAGE_INFO]: computed(() => this.user ? {
title: this.user.name ? `${this.user.name} (@${this.user.username})` : `@${this.user.username}`,
userName: this.user,
avatar: this.user,
path: `/@${this.user.username}`,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment