1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-09 18:39:58 +00:00
elk/pages/pinned.vue
2022-11-30 06:49:25 +08:00

24 lines
495 B
Vue

<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
const paginator = useMasto().accounts.getStatusesIterable(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>
<TimelinePaginator :paginator="paginator" />
</MainContent>
</template>