fix import
This commit is contained in:
parent
e5e1f8b115
commit
c875350b1e
|
@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #body>
|
<template #body>
|
||||||
<MkNotes
|
<EmNotes
|
||||||
ref="notesEl"
|
ref="notesEl"
|
||||||
:pagination="pagination"
|
:pagination="pagination"
|
||||||
:disableAutoLoad="!embedParams.autoload"
|
:disableAutoLoad="!embedParams.autoload"
|
||||||
|
@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, computed, shallowRef, inject, onActivated } from 'vue';
|
import { ref, computed, shallowRef, inject, onActivated } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import MkNotes from '@/components/MkNotes.vue';
|
import EmNotes from '@/embed/components/EmNotes.vue';
|
||||||
import XNotFound from '@/pages/not-found.vue';
|
import XNotFound from '@/pages/not-found.vue';
|
||||||
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
|
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
|
||||||
import type { Paging } from '@/components/MkPagination.vue';
|
import type { Paging } from '@/components/MkPagination.vue';
|
||||||
|
@ -83,7 +83,7 @@ const pagination = computed(() => ({
|
||||||
} as Paging));
|
} as Paging));
|
||||||
const loading = ref(true);
|
const loading = ref(true);
|
||||||
|
|
||||||
const notesEl = shallowRef<InstanceType<typeof MkNotes> | null>(null);
|
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
|
||||||
|
|
||||||
function top(ev: MouseEvent) {
|
function top(ev: MouseEvent) {
|
||||||
const target = ev.target as HTMLElement | null;
|
const target = ev.target as HTMLElement | null;
|
||||||
|
|
|
@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #body>
|
<template #body>
|
||||||
<MkNotes
|
<EmNotes
|
||||||
ref="notesEl"
|
ref="notesEl"
|
||||||
:pagination="pagination"
|
:pagination="pagination"
|
||||||
:disableAutoLoad="!embedParams.autoload"
|
:disableAutoLoad="!embedParams.autoload"
|
||||||
|
@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, shallowRef, inject, onActivated } from 'vue';
|
import { computed, shallowRef, inject, onActivated } from 'vue';
|
||||||
import MkNotes from '@/components/MkNotes.vue';
|
import EmNotes from '@/embed/components/EmNotes.vue';
|
||||||
import XNotFound from '@/pages/not-found.vue';
|
import XNotFound from '@/pages/not-found.vue';
|
||||||
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
|
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
|
||||||
import type { Paging } from '@/components/MkPagination.vue';
|
import type { Paging } from '@/components/MkPagination.vue';
|
||||||
|
@ -78,7 +78,7 @@ const pagination = computed(() => ({
|
||||||
},
|
},
|
||||||
} as Paging));
|
} as Paging));
|
||||||
|
|
||||||
const notesEl = shallowRef<InstanceType<typeof MkNotes> | null>(null);
|
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
|
||||||
|
|
||||||
function top(ev: MouseEvent) {
|
function top(ev: MouseEvent) {
|
||||||
const target = ev.target as HTMLElement | null;
|
const target = ev.target as HTMLElement | null;
|
||||||
|
|
|
@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #body>
|
<template #body>
|
||||||
<MkEmNotes
|
<EmNotes
|
||||||
ref="notesEl"
|
ref="notesEl"
|
||||||
:pagination="pagination"
|
:pagination="pagination"
|
||||||
:disableAutoLoad="!embedParams.autoload"
|
:disableAutoLoad="!embedParams.autoload"
|
||||||
|
@ -50,7 +50,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import type { Paging } from '@/components/MkPagination.vue';
|
import type { Paging } from '@/components/MkPagination.vue';
|
||||||
import type { ParsedEmbedParams } from '@/scripts/embed-page.js';
|
import type { ParsedEmbedParams } from '@/scripts/embed-page.js';
|
||||||
import MkEmNotes from '@/components/MkEmNotes.vue';
|
import EmNotes from '@/embed/components/EmNotes.vue';
|
||||||
import XNotFound from '@/pages/not-found.vue';
|
import XNotFound from '@/pages/not-found.vue';
|
||||||
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
|
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
|
||||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||||
|
@ -90,7 +90,7 @@ const pagination = computed(() => ({
|
||||||
} as Paging));
|
} as Paging));
|
||||||
const loading = ref(true);
|
const loading = ref(true);
|
||||||
|
|
||||||
const notesEl = shallowRef<InstanceType<typeof MkNotes> | null>(null);
|
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
|
||||||
|
|
||||||
function top(ev: MouseEvent) {
|
function top(ev: MouseEvent) {
|
||||||
const target = ev.target as HTMLElement | null;
|
const target = ev.target as HTMLElement | null;
|
||||||
|
|
Loading…
Reference in New Issue