elk/pages/pinned.vue
patak baa2696d31
feat: re-apply timelines loading optimization (#524)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-26 06:39:18 +01:00

24 lines
491 B
Vue

<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
const paginator = useMasto().accounts.iterateStatuses(currentUser.value!.account.id, { pinned: true })
const { t } = useI18n()
useHeadFixed({
title: () => t('account.pinned'),
})
</script>
<template>
<MainContent>
<template #title>
<div i-ri:pushpin-line h-6 mr-1 />
<span>{{ t('account.pinned') }}</span>
</template>
<TimelinePinned v-if="isMastoInitialised" />
</MainContent>
</template>