fix: revert timelines loading optimization
This commit is contained in:
parent
2e5270f453
commit
ef4a240800
24 changed files with 87 additions and 146 deletions
|
@ -17,11 +17,15 @@ const tabs = $computed(() => [
|
|||
display: t('tab.news'),
|
||||
},
|
||||
// This section can only be accessed after logging in
|
||||
{
|
||||
to: `/${currentServer.value}/explore/users`,
|
||||
display: t('tab.for_you'),
|
||||
disabled: !isMastoInitialised.value || !currentUser.value,
|
||||
},
|
||||
...invoke(() => currentUser.value
|
||||
? [
|
||||
{
|
||||
to: `/${currentServer.value}/explore/users`,
|
||||
display: t('tab.for_you'),
|
||||
},
|
||||
]
|
||||
: [],
|
||||
),
|
||||
] as const)
|
||||
</script>
|
||||
|
||||
|
@ -37,6 +41,6 @@ const tabs = $computed(() => [
|
|||
<template #header>
|
||||
<CommonRouteTabs replace :options="tabs" />
|
||||
</template>
|
||||
<NuxtPage v-if="isMastoInitialised" />
|
||||
<NuxtPage />
|
||||
</MainContent>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue