- {{ $t('search.search_desc') }}
+ {{ t('search.search_desc') }}
@@ -89,7 +90,7 @@ const activate = () => {
/>
- {{ $t('search.search_empty') }}
+ {{ t('search.search_empty') }}
diff --git a/pages/[[server]]/explore.vue b/pages/[[server]]/explore.vue
index 44e346b1..7495022b 100644
--- a/pages/[[server]]/explore.vue
+++ b/pages/[[server]]/explore.vue
@@ -4,20 +4,20 @@ const { t } = useI18n()
const tabs = $computed(() => [
{
to: isHydrated.value ? `/${currentServer.value}/explore` : '/explore',
- display: t('tab.posts'),
+ display: isHydrated.value ? t('tab.posts') : '',
},
{
to: isHydrated.value ? `/${currentServer.value}/explore/tags` : '/explore/tags',
- display: t('tab.hashtags'),
+ display: isHydrated.value ? t('tab.hashtags') : '',
},
{
to: isHydrated.value ? `/${currentServer.value}/explore/links` : '/explore/links',
- display: t('tab.news'),
+ display: isHydrated.value ? t('tab.news') : '',
},
// This section can only be accessed after logging in
{
to: isHydrated.value ? `/${currentServer.value}/explore/users` : '/explore/users',
- display: t('tab.for_you'),
+ display: isHydrated.value ? t('tab.for_you') : '',
disabled: !isMastoInitialised.value || !currentUser.value,
},
] as const)
diff --git a/pages/notifications.vue b/pages/notifications.vue
index 4f581165..96983161 100644
--- a/pages/notifications.vue
+++ b/pages/notifications.vue
@@ -10,12 +10,12 @@ const tabs = $computed(() => [
{
name: 'all',
to: '/notifications',
- display: t('tab.notifications_all'),
+ display: isHydrated.value ? t('tab.notifications_all') : '',
},
{
name: 'mention',
to: '/notifications/mention',
- display: t('tab.notifications_mention'),
+ display: isHydrated.value ? t('tab.notifications_mention') : '',
},
] as const)