mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-07 04:39:10 +01:00
23 lines
502 B
Vue
23 lines
502 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: 'auth',
|
|
})
|
|
|
|
const masto = await useMasto()
|
|
const paginator = masto.notifications.getIterator()
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent>
|
|
<template #title>
|
|
<div i-ri:notification-2-fill h-6 mr-1 /><span>Notifications</span>
|
|
</template>
|
|
<template #actions>
|
|
<div color-gray i-ri:equalizer-fill mr-1 h-6 />
|
|
</template>
|
|
<slot>
|
|
<NotificationPaginator :paginator="paginator" />
|
|
</slot>
|
|
</MainContent>
|
|
</template>
|