summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-29 11:18:49 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-29 11:18:49 +0900
commit2b42e8f171e0a030af52ae9b00129282a13479c1 (patch)
treebc50d44478d755f33e978bcb4f5b5fb51e5755ea
parentBump version to 2025.3.2-beta.15 (diff)
downloadmisskey-2b42e8f171e0a030af52ae9b00129282a13479c1.tar.gz
misskey-2b42e8f171e0a030af52ae9b00129282a13479c1.tar.bz2
misskey-2b42e8f171e0a030af52ae9b00129282a13479c1.zip
test
-rw-r--r--packages/frontend/src/components/MkNotifications.vue30
1 files changed, 14 insertions, 16 deletions
diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue
index 21f1967bfa..80ae5899ec 100644
--- a/packages/frontend/src/components/MkNotifications.vue
+++ b/packages/frontend/src/components/MkNotifications.vue
@@ -4,23 +4,21 @@ SPDX-License-Identifier: AGPL-3.0-only
-->
<template>
-<MkPullToRefresh :refresher="() => reload()">
- <MkPagination ref="pagingComponent" :pagination="pagination">
- <template #empty>
- <div class="_fullinfo">
- <img :src="infoImageUrl" draggable="false"/>
- <div>{{ i18n.ts.noNotifications }}</div>
- </div>
- </template>
+<MkPagination ref="pagingComponent" :pagination="pagination">
+ <template #empty>
+ <div class="_fullinfo">
+ <img :src="infoImageUrl" draggable="false"/>
+ <div>{{ i18n.ts.noNotifications }}</div>
+ </div>
+ </template>
- <template #default="{ items: notifications }">
- <MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :noGap="true">
- <MkNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :key="notification.id + ':note'" :note="notification.note" :withHardMute="true"/>
- <XNotification v-else :key="notification.id" :notification="notification" :withTime="true" :full="true" class="_panel"/>
- </MkDateSeparatedList>
- </template>
- </MkPagination>
-</MkPullToRefresh>
+ <template #default="{ items: notifications }">
+ <MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :noGap="true">
+ <MkNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :key="notification.id + ':note'" :note="notification.note" :withHardMute="true"/>
+ <XNotification v-else :key="notification.id" :notification="notification" :withTime="true" :full="true" class="_panel"/>
+ </MkDateSeparatedList>
+ </template>
+</MkPagination>
</template>
<script lang="ts" setup>