elk/pages/notifications.vue

23 lines
502 B
Vue
Raw Normal View History

2022-11-16 00:21:54 +03:00
<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>