summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkChannelList.vue
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-05-06 14:41:31 +0900
committerGitHub <noreply@github.com>2025-05-06 14:41:31 +0900
commit8959bfa1c0b558888aa7da207f8166092c51a353 (patch)
tree6724fbcd6be6831878d4dfa6bbddcffc6052b81d /packages/frontend/src/components/MkChannelList.vue
parentchore(deps): sharpを固定 (#15957) (diff)
downloadmisskey-8959bfa1c0b558888aa7da207f8166092c51a353.tar.gz
misskey-8959bfa1c0b558888aa7da207f8166092c51a353.tar.bz2
misskey-8959bfa1c0b558888aa7da207f8166092c51a353.zip
refactor(frontend): 空/エラー結果表示をコンポーネント化 (#15963)
* wip * wip * wip * wip * wip * Update MkResult.vue * Add storybook story for MkResult (#15964) * Update MkResult.vue --------- Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/components/MkChannelList.vue')
-rw-r--r--packages/frontend/src/components/MkChannelList.vue8
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/frontend/src/components/MkChannelList.vue b/packages/frontend/src/components/MkChannelList.vue
index fdb7d2a1c4..d0b50f04f2 100644
--- a/packages/frontend/src/components/MkChannelList.vue
+++ b/packages/frontend/src/components/MkChannelList.vue
@@ -5,12 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<MkPagination :pagination="pagination">
- <template #empty>
- <div class="_fullinfo">
- <img :src="infoImageUrl" draggable="false"/>
- <div>{{ i18n.ts.notFound }}</div>
- </div>
- </template>
+ <template #empty><MkResult type="empty"/></template>
<template #default="{ items }">
<MkChannelPreview v-for="item in items" :key="item.id" class="_margin" :channel="extractor(item)"/>
@@ -23,7 +18,6 @@ import type { Paging } from '@/components/MkPagination.vue';
import MkChannelPreview from '@/components/MkChannelPreview.vue';
import MkPagination from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js';
-import { infoImageUrl } from '@/instance.js';
const props = withDefaults(defineProps<{
pagination: Paging;