This commit is contained in:
ThatOneCalculator 2022-11-16 01:48:19 -08:00
parent 395758021f
commit 29c2fb1ba8
1 changed files with 5 additions and 5 deletions

View File

@ -83,26 +83,26 @@ const headerTabs = $computed(() =>
{ {
key: 'home', key: 'home',
title: i18n.ts.overview, title: i18n.ts.overview,
icon: 'ph-user-bold ph-large', icon: 'ph-user-bold ph-lg',
}, },
...(($i && $i.id === user.id) || user.publicReactions ...(($i && $i.id === user.id) || user.publicReactions
? [{ ? [{
key: 'reactions', key: 'reactions',
title: i18n.ts.reaction, title: i18n.ts.reaction,
icon: 'ph-smiley-bold ph-large', icon: 'ph-smiley-bold ph-lg',
}] : []), }] : []),
...(user.instance == null ? [{ ...(user.instance == null ? [{
key: 'clips', key: 'clips',
title: i18n.ts.clips, title: i18n.ts.clips,
icon: 'ph-paperclip-bold ph-large', icon: 'ph-paperclip-bold ph-lg',
}, { }, {
key: 'pages', key: 'pages',
title: i18n.ts.pages, title: i18n.ts.pages,
icon: 'ph-file-text-bold ph-large', icon: 'ph-file-text-bold ph-lg',
}, { }, {
key: 'gallery', key: 'gallery',
title: i18n.ts.gallery, title: i18n.ts.gallery,
icon: 'ph-image-square-bold ph-large', icon: 'ph-image-square-bold ph-lg',
}] : []), }] : []),
] ]
: null, : null,