diff options
Diffstat (limited to 'packages/frontend/src/components/SkFollowingRecentNotes.vue')
| -rw-r--r-- | packages/frontend/src/components/SkFollowingRecentNotes.vue | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/frontend/src/components/SkFollowingRecentNotes.vue b/packages/frontend/src/components/SkFollowingRecentNotes.vue index 7e71065082..df5e7da5c0 100644 --- a/packages/frontend/src/components/SkFollowingRecentNotes.vue +++ b/packages/frontend/src/components/SkFollowingRecentNotes.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkPagination ref="latestNotesPaging" :pagination="latestNotesPagination" @init="onListReady"> <template #empty> <div class="_fullinfo"> - <img :src="infoImageUrl" class="_ghost" :alt="i18n.ts.noNotes" aria-hidden="true"/> + <img :src="infoImageUrl" draggable="false" :alt="i18n.ts.noNotes" aria-hidden="true"/> <div>{{ i18n.ts.noNotes }}</div> </div> </template> @@ -25,14 +25,15 @@ SPDX-License-Identifier: AGPL-3.0-only <script setup lang="ts"> import * as Misskey from 'misskey-js'; import { computed, shallowRef } from 'vue'; +import type { FollowingFeedTab } from '@/utility/following-feed-utils.js'; +import type { Paging } from '@/components/MkPagination.vue'; import { infoImageUrl } from '@/instance.js'; import { i18n } from '@/i18n.js'; import MkDateSeparatedList from '@/components/MkDateSeparatedList.vue'; -import MkPagination, { Paging } from '@/components/MkPagination.vue'; +import MkPagination from '@/components/MkPagination.vue'; import SkFollowingFeedEntry from '@/components/SkFollowingFeedEntry.vue'; -import { $i } from '@/account.js'; -import { checkWordMute } from '@/scripts/check-word-mute.js'; -import { FollowingFeedTab } from '@/scripts/following-feed-utils.js'; +import { $i } from '@/i.js'; +import { checkWordMute } from '@/utility/check-word-mute.js'; import MkPullToRefresh from '@/components/MkPullToRefresh.vue'; const props = defineProps<{ @@ -112,7 +113,7 @@ function checkMute(note: Misskey.entities.Note | undefined | null, mutes: Mutes) return false; } - return checkWordMute(note, $i, mutes); + return !!checkWordMute(note, $i, mutes); } </script> |