Revert "test"

This reverts commit 2b42e8f171.
This commit is contained in:
syuilo 2025-03-29 12:27:13 +09:00
parent 2b42e8f171
commit 3682c0069c

View file

@ -4,21 +4,23 @@ SPDX-License-Identifier: AGPL-3.0-only
--> -->
<template> <template>
<MkPagination ref="pagingComponent" :pagination="pagination"> <MkPullToRefresh :refresher="() => reload()">
<template #empty> <MkPagination ref="pagingComponent" :pagination="pagination">
<div class="_fullinfo"> <template #empty>
<img :src="infoImageUrl" draggable="false"/> <div class="_fullinfo">
<div>{{ i18n.ts.noNotifications }}</div> <img :src="infoImageUrl" draggable="false"/>
</div> <div>{{ i18n.ts.noNotifications }}</div>
</template> </div>
</template>
<template #default="{ items: notifications }"> <template #default="{ items: notifications }">
<MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :noGap="true"> <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"/> <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"/> <XNotification v-else :key="notification.id" :notification="notification" :withTime="true" :full="true" class="_panel"/>
</MkDateSeparatedList> </MkDateSeparatedList>
</template> </template>
</MkPagination> </MkPagination>
</MkPullToRefresh>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>