mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Fix undefined user page title (#7436)
This commit is contained in:
parent
1019e0bcfd
commit
3c3b4eb2af
@ -271,6 +271,7 @@ export default defineComponent({
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
[symbols.PAGE_INFO]: computed(() => this.user ? {
|
[symbols.PAGE_INFO]: computed(() => this.user ? {
|
||||||
|
title: this.user.name ? `${this.user.name} (@${this.user.username})` : `@${this.user.username}`,
|
||||||
userName: this.user,
|
userName: this.user,
|
||||||
avatar: this.user,
|
avatar: this.user,
|
||||||
path: `/@${this.user.username}`,
|
path: `/@${this.user.username}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user