pls daddy
This commit is contained in:
parent
21d6c83a5a
commit
aadbd838ca
2 changed files with 5 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
|||
<template>
|
||||
<div class="_block" :class="$style.mkmoved"><i class="fas fa-info-circle" style="margin-right: 8px;"></i>{{ i18n.ts.accountMoved }}<MkA :class="$style.link" class="link" :to="href">{{ acct }}</MkA></div>
|
||||
<div class="_block" :class="$style.mkmoved"><i class="fas fa-info-circle" style="margin-right: 8px;"></i>{{ i18n.ts.accountMoved }}<MkMention :class="$style.link" class="link" :username="acct" :host="host"/></div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { i18n } from '@/i18n';
|
||||
import MkMention from './MkMention.vue';
|
||||
const props = defineProps<{
|
||||
acct: string;
|
||||
host: string;
|
||||
}>();
|
||||
const href = $computed(() => `/${props.acct}`);
|
||||
</script>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<div class="profile">
|
||||
<MkRemoteCaution v-if="user.host != null" :href="user.url" class="warn"/>
|
||||
<MkMoved v-if="user.movedToUri" :acct="user.movedToUri" />
|
||||
<MkMoved v-if="user.movedToUri" :host="user.movedToUri.host" :acct="user.movedToUri.username" />
|
||||
|
||||
<div :key="user.id" class="_block main">
|
||||
<div class="banner-container" :style="style">
|
||||
|
@ -130,6 +130,7 @@ import * as os from '@/os';
|
|||
import { useRouter } from '@/router';
|
||||
import { i18n } from '@/i18n';
|
||||
import { $i } from '@/account';
|
||||
import { host } from '@/config';
|
||||
|
||||
const XPhotos = defineAsyncComponent(() => import('./index.photos.vue'));
|
||||
const XActivity = defineAsyncComponent(() => import('./index.activity.vue'));
|
||||
|
|
Loading…
Reference in a new issue