hopefully fix things....

This commit is contained in:
cutestnekoaqua 2022-12-07 00:54:06 +01:00
parent fe2dad30f5
commit 2cda9971a9
3 changed files with 4 additions and 4 deletions

View File

@ -88,7 +88,7 @@ export default define(meta, paramDef, async (ps, me) => {
});
/***
* URIからUserかNoteを解決する
* Resolve User or Note from URI
*/
async function fetchAny(uri: string, me: CacheableLocalUser | null | undefined): Promise<SchemaType<typeof meta['res']> | null> {
// ブロックしてたら中断

View File

@ -1,5 +1,5 @@
<template>
<div class="mkmoved _block"><i class="fas fa-info-circle" style="margin-right: 8px;"></i>{{ i18n.ts.accountMoved }}<a class="link" :href="href">{{ acct }}</a></div>
<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>
</template>
<script lang="ts" setup>
@ -10,7 +10,7 @@ const props = defineProps<{
const href = $computed(() => `/${props.acct}`);
</script>
<style lang="scss" scoped>
<style lang="scss" module>
.mkmoved {
font-size: 0.8em;
padding: 16px;

View File

@ -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.movedTo" :acct="user.movedTo" />
<div :key="user.id" class="_block main">
<div class="banner-container" :style="style">