Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
This commit is contained in:
commit
69a05aa5de
|
@ -11,7 +11,16 @@ import { toUnicode } from 'punycode/';
|
||||||
import { host } from '@client/config';
|
import { host } from '@client/config';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: ['user', 'detail'],
|
props: {
|
||||||
|
user: {
|
||||||
|
type: Object,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
detail: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
host: toUnicode(host),
|
host: toUnicode(host),
|
||||||
|
|
|
@ -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