This commit is contained in:
syuilo 2021-04-16 23:19:39 +09:00
parent 0f054aed88
commit 0d680b060e
3 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,8 @@
<div>{{ $ts.noNotes }}</div>
</div>
<MkLoading v-if="fetching"/>
<MkError v-if="error" @retry="init()"/>
<div v-show="more && reversed" style="margin-bottom: var(--margin);">

View file

@ -1,5 +1,7 @@
<template>
<div class="mfcuwfyp _noGap_ _magnetParent">
<MkLoading v-if="fetching"/>
<XList class="notifications _magnetChild" :items="items" v-slot="{ item: notification }">
<XNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :note="notification.note" @update:note="noteUpdated(notification.note, $event)" :key="notification.id"/>
<XNotification v-else :notification="notification" :with-time="true" :full="true" class="_panel notification" :key="notification.id"/>

View file

@ -5,6 +5,8 @@
<div>{{ $ts.noNotes }}</div>
</div>
<MkLoading v-if="fetching"/>
<MkError v-if="error" @retry="init()"/>
<div v-show="more && reversed" style="margin-bottom: var(--margin);">