Compare commits
2 commits
cf6e71d926
...
81e3268e4f
Author | SHA1 | Date | |
---|---|---|---|
81e3268e4f | |||
b6f197017f |
1 changed files with 8 additions and 8 deletions
|
@ -139,16 +139,10 @@ const headerTabs = $computed(() => [{
|
|||
icon: 'fas fa-user-group',
|
||||
iconOnly: true,
|
||||
}] : []),
|
||||
...(isRecommendedTimelineAvailable ? [{
|
||||
key: 'recommended',
|
||||
title: i18n.ts._timelines.recommended,
|
||||
icon: 'fas fa-signs-post',
|
||||
iconOnly: true,
|
||||
}] : []),
|
||||
...(isLocalTimelineAvailable ? [{
|
||||
key: 'social',
|
||||
title: i18n.ts._timelines.social,
|
||||
icon: 'fas fa-handshake-simple',
|
||||
icon: 'fas fa-share-alt',
|
||||
iconOnly: true,
|
||||
}] : []),
|
||||
...(isGlobalTimelineAvailable ? [{
|
||||
|
@ -156,11 +150,17 @@ const headerTabs = $computed(() => [{
|
|||
title: i18n.ts._timelines.global,
|
||||
icon: 'fas fa-globe',
|
||||
iconOnly: true,
|
||||
}] : []),
|
||||
...(isRecommendedTimelineAvailable ? [{
|
||||
key: 'recommended',
|
||||
title: i18n.ts._timelines.recommended,
|
||||
icon: 'fas fa-comment-medical',
|
||||
iconOnly: true,
|
||||
}] : [])]);
|
||||
|
||||
definePageMetadata(computed(() => ({
|
||||
title: i18n.ts.timeline,
|
||||
icon: src === 'local' ? 'fas fa-user-group' : src === 'social' ? 'fas fa-handshake-simple' : src === 'recommended' ? 'fas fa-signs-post' : src === 'global' ? 'fas fa-globe' : 'fas fa-home',
|
||||
icon: src === 'local' ? 'fas fa-user-group' : src === 'social' ? 'fas fa-share-alt' : src === 'recommended' ? 'fas fa-comment-medical' : src === 'global' ? 'fas fa-globe' : 'fas fa-home',
|
||||
})));
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue