switch position of social and recommended
This commit is contained in:
parent
618042c3e3
commit
9d9047c33d
@ -109,12 +109,12 @@ let timelines = ["home"];
|
|||||||
if (isLocalTimelineAvailable) {
|
if (isLocalTimelineAvailable) {
|
||||||
timelines.push("local");
|
timelines.push("local");
|
||||||
}
|
}
|
||||||
if (isRecommendedTimelineAvailable) {
|
|
||||||
timelines.push("recommended");
|
|
||||||
}
|
|
||||||
if (isLocalTimelineAvailable) {
|
if (isLocalTimelineAvailable) {
|
||||||
timelines.push("social");
|
timelines.push("social");
|
||||||
}
|
}
|
||||||
|
if (isRecommendedTimelineAvailable) {
|
||||||
|
timelines.push("recommended");
|
||||||
|
}
|
||||||
if (isGlobalTimelineAvailable) {
|
if (isGlobalTimelineAvailable) {
|
||||||
timelines.push("global");
|
timelines.push("global");
|
||||||
}
|
}
|
||||||
@ -255,16 +255,6 @@ const headerTabs = $computed(() => [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
...(isRecommendedTimelineAvailable
|
|
||||||
? [
|
|
||||||
{
|
|
||||||
key: "recommended",
|
|
||||||
title: i18n.ts._timelines.recommended,
|
|
||||||
icon: "ph-thumbs-up ph-bold ph-lg",
|
|
||||||
iconOnly: true,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
: []),
|
|
||||||
...(isLocalTimelineAvailable
|
...(isLocalTimelineAvailable
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
@ -275,6 +265,16 @@ const headerTabs = $computed(() => [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
|
...(isRecommendedTimelineAvailable
|
||||||
|
? [
|
||||||
|
{
|
||||||
|
key: "recommended",
|
||||||
|
title: i18n.ts._timelines.recommended,
|
||||||
|
icon: "ph-thumbs-up ph-bold ph-lg",
|
||||||
|
iconOnly: true,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: []),
|
||||||
...(isGlobalTimelineAvailable
|
...(isGlobalTimelineAvailable
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user