mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
This commit is contained in:
commit
89e08626be
2 changed files with 11 additions and 1 deletions
|
@ -11,7 +11,16 @@ import { toUnicode } from 'punycode/';
|
|||
import { host } from '@client/config';
|
||||
|
||||
export default defineComponent({
|
||||
props: ['user', 'detail'],
|
||||
props: {
|
||||
user: {
|
||||
type: Object,
|
||||
required: true
|
||||
},
|
||||
detail: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
host: toUnicode(host),
|
||||
|
|
|
@ -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}`,
|
||||
|
|
Loading…
Reference in a new issue