forked from Mirrors/elk
fix(pinned): layout & not signed in
This commit is contained in:
parent
b0766ab52f
commit
b18bc7fad1
1 changed files with 5 additions and 4 deletions
|
@ -3,7 +3,6 @@ definePageMeta({
|
||||||
middleware: 'auth',
|
middleware: 'auth',
|
||||||
})
|
})
|
||||||
|
|
||||||
const paginator = useMasto().accounts.iterateStatuses(currentUser.value!.account.id, { pinned: true })
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
useHeadFixed({
|
useHeadFixed({
|
||||||
|
@ -14,10 +13,12 @@ useHeadFixed({
|
||||||
<template>
|
<template>
|
||||||
<MainContent>
|
<MainContent>
|
||||||
<template #title>
|
<template #title>
|
||||||
<div i-ri:pushpin-line h-6 me-1 />
|
<NuxtLink to="/public/pinned" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
|
||||||
<span>{{ t('account.pinned') }}</span>
|
<div i-ri:pushpin-line />
|
||||||
|
<span>{{ t('account.pinned') }}</span>
|
||||||
|
</NuxtLink>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<TimelinePinned v-if="isMastoInitialised" />
|
<TimelinePinned v-if="isMastoInitialised && currentUser" />
|
||||||
</MainContent>
|
</MainContent>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue