diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue
index 3a013a8..7b26fcb 100644
--- a/packages/client/src/components/global/MkPageHeader.vue
+++ b/packages/client/src/components/global/MkPageHeader.vue
@@ -42,8 +42,7 @@
/>
@@ -268,6 +267,9 @@ onMounted(() => {
await document.fonts.ready;
if (props.tab == null) return;
if (!isTabs(props.tabs)) return;
+ if (props.tab === "home") {
+ emit("update:tab", "social");
+ }
const tabEl = tabRefs[props.tab];
if (tabEl && tabHighlightEl.value) {
const isVertical = getComputedStyle(tabHighlightEl.value)[
diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue
index c701255..54c2631 100644
--- a/packages/client/src/pages/timeline.vue
+++ b/packages/client/src/pages/timeline.vue
@@ -236,32 +236,12 @@ const headerActions = computed(() =>
);
const headerTabs = computed(() => [
- ...(isHomeTimelineAvailable
- ? [
- {
- key: "home",
- title: i18n.ts._timelines.home,
- icon: `${icon("ph-house")}`,
- iconOnly: true,
- },
- ]
- : []),
...(isSocialTimelineAvailable
? [
{
key: "social",
- title: i18n.ts._timelines.social,
- icon: `${icon("ph-handshake")}`,
- iconOnly: true,
- },
- ]
- : []),
- ...(isRecommendedTimelineAvailable
- ? [
- {
- key: "recommended",
- title: i18n.ts._timelines.recommended,
- icon: `${icon("ph-thumbs-up")}`,
+ title: i18n.ts._timelines.home,
+ icon: `${icon("ph-house")}`,
iconOnly: true,
},
]