diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-29 11:18:49 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-29 11:18:49 +0900 |
| commit | 2b42e8f171e0a030af52ae9b00129282a13479c1 (patch) | |
| tree | bc50d44478d755f33e978bcb4f5b5fb51e5755ea | |
| parent | Bump version to 2025.3.2-beta.15 (diff) | |
| download | misskey-2b42e8f171e0a030af52ae9b00129282a13479c1.tar.gz misskey-2b42e8f171e0a030af52ae9b00129282a13479c1.tar.bz2 misskey-2b42e8f171e0a030af52ae9b00129282a13479c1.zip | |
test
| -rw-r--r-- | packages/frontend/src/components/MkNotifications.vue | 30 |
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> |