megre
This commit is contained in:
parent
2ea5bda668
commit
1af6dfcdff
|
@ -10,12 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkError v-else-if="paginator.error.value" @retry="paginator.init()"/>
|
||||
|
||||
<div v-else-if="paginator.items.value.length === 0" key="_empty_">
|
||||
<slot name="empty">
|
||||
<div class="_fullinfo">
|
||||
<img :src="infoImageUrl" draggable="false"/>
|
||||
<div>{{ i18n.ts.noNotes }}</div>
|
||||
</div>
|
||||
</slot>
|
||||
<slot name="empty"><MkResult type="empty" :text="i18n.ts.noNotes"/></slot>
|
||||
</div>
|
||||
|
||||
<div v-else ref="rootEl">
|
||||
|
@ -78,7 +73,6 @@ import { store } from '@/store.js';
|
|||
import MkNote from '@/components/MkNote.vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { infoImageUrl } from '@/instance.js';
|
||||
import { globalEvents, useGlobalEvent } from '@/events.js';
|
||||
import { isSeparatorNeeded, getSeparatorInfo } from '@/utility/timeline-date-separate.js';
|
||||
|
||||
|
|
|
@ -10,12 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkError v-else-if="paginator.error.value" @retry="paginator.init()"/>
|
||||
|
||||
<div v-else-if="paginator.items.value.length === 0" key="_empty_">
|
||||
<slot name="empty">
|
||||
<div class="_fullinfo">
|
||||
<img :src="infoImageUrl" draggable="false"/>
|
||||
<div>{{ i18n.ts.noNotifications }}</div>
|
||||
</div>
|
||||
</slot>
|
||||
<slot name="empty"><MkResult type="empty" :text="i18n.ts.noNotifications"/></slot>
|
||||
</div>
|
||||
|
||||
<div v-else ref="rootEl">
|
||||
|
@ -55,7 +50,6 @@ import XNotification from '@/components/MkNotification.vue';
|
|||
import MkNote from '@/components/MkNote.vue';
|
||||
import { useStream } from '@/stream.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { infoImageUrl } from '@/instance.js';
|
||||
import MkPullToRefresh from '@/components/MkPullToRefresh.vue';
|
||||
import { prefer } from '@/preferences.js';
|
||||
import { store } from '@/store.js';
|
||||
|
|
Loading…
Reference in New Issue