1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-02 23:19:57 +00:00
elk/pages/favourites.vue

23 lines
483 B
Vue
Raw Normal View History

2022-11-15 21:21:39 +00:00
<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
const masto = await useMasto()
const paginator = masto.favourites.getIterator()
</script>
<template>
<MainContent>
<template #title>
<div i-ri:heart-fill h-6 mr-1 /><span>Favourites</span>
</template>
<template #actions>
<div color-gray i-ri:equalizer-fill mr-1 h-6 />
</template>
<slot>
<TimelinePaginator :paginator="paginator" />
</slot>
</MainContent>
</template>