diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-05-06 14:41:31 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-06 14:41:31 +0900 |
| commit | 8959bfa1c0b558888aa7da207f8166092c51a353 (patch) | |
| tree | 6724fbcd6be6831878d4dfa6bbddcffc6052b81d /packages/frontend/src/pages/follow-requests.vue | |
| parent | chore(deps): sharpを固定 (#15957) (diff) | |
| download | misskey-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/pages/follow-requests.vue')
| -rw-r--r-- | packages/frontend/src/pages/follow-requests.vue | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/frontend/src/pages/follow-requests.vue b/packages/frontend/src/pages/follow-requests.vue index 8ea385a74f..9b4e3faaef 100644 --- a/packages/frontend/src/pages/follow-requests.vue +++ b/packages/frontend/src/pages/follow-requests.vue @@ -7,12 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only <PageWithHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs" :swipable="true"> <div class="_spacer" style="--MI_SPACER-w: 800px;"> <MkPagination ref="paginationComponent" :pagination="pagination"> - <template #empty> - <div class="_fullinfo"> - <img :src="infoImageUrl" draggable="false"/> - <div>{{ i18n.ts.noFollowRequests }}</div> - </div> - </template> + <template #empty><MkResult type="empty" :text="i18n.ts.noFollowRequests"/></template> <template #default="{items}"> <div class="mk-follow-requests _gaps"> <div v-for="req in items" :key="req.id" class="user _panel"> @@ -48,7 +43,6 @@ import { userPage, acct } from '@/filters/user.js'; import * as os from '@/os.js'; import { i18n } from '@/i18n.js'; import { definePage } from '@/page.js'; -import { infoImageUrl } from '@/instance.js'; import { $i } from '@/i.js'; const paginationComponent = useTemplateRef('paginationComponent'); |