1
0
forked from mirror/misskey
This commit is contained in:
kakkokari-gtyih 2024-08-20 16:27:42 +09:00
parent c342286778
commit de535eeae9
4 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div>
<MkLoading v-if="loading"/>
<MkEmTimelineContainer v-else-if="clip" :showHeader="embedParams.header">
<EmTimelineContainer v-else-if="clip" :showHeader="embedParams.header">
<template #header>
<div :class="$style.clipHeader">
<div :class="$style.headerClipIconRoot">
@ -33,7 +33,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:ad="false"
/>
</template>
</MkEmTimelineContainer>
</EmTimelineContainer>
<XNotFound v-else/>
</div>
</template>
@ -43,7 +43,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js';
import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue';
import MkEmTimelineContainer from '@/embed/components/MkEmTimelineContainer.vue';
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
import type { Paging } from '@/components/MkPagination.vue';
import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js';

View File

@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div>
<MkEmTimelineContainer v-if="tag" :showHeader="embedParams.header">
<EmTimelineContainer v-if="tag" :showHeader="embedParams.header">
<template #header>
<div :class="$style.clipHeader">
<div :class="$style.headerClipIconRoot">
@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:ad="false"
/>
</template>
</MkEmTimelineContainer>
</EmTimelineContainer>
<XNotFound v-else/>
</div>
</template>
@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed, shallowRef, inject, onActivated } from 'vue';
import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue';
import MkEmTimelineContainer from '@/embed/components/MkEmTimelineContainer.vue';
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
import type { Paging } from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js';
import { instance } from '@/instance.js';

View File

@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div>
<MkLoading v-if="loading"/>
<MkEmTimelineContainer v-else-if="user" :showHeader="embedParams.header">
<EmTimelineContainer v-else-if="user" :showHeader="embedParams.header">
<template #header>
<div :class="$style.userHeader">
<a :href="`/@${user.username}`" target="_blank" rel="noopener noreferrer" :class="$style.avatarLink">
@ -40,7 +40,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:ad="false"
/>
</template>
</MkEmTimelineContainer>
</EmTimelineContainer>
<XNotFound v-else/>
</div>
</template>
@ -50,7 +50,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js';
import MkNotes from '@/components/MkNotes.vue';
import XNotFound from '@/pages/not-found.vue';
import MkEmTimelineContainer from '@/embed/components/MkEmTimelineContainer.vue';
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
import type { Paging } from '@/components/MkPagination.vue';
import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js';