This commit is contained in:
syuilo 2023-01-24 14:10:26 +09:00
parent 9fd1b35d95
commit a2268a95be
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@
<i v-else-if="notification.type === 'mention'" class="ti ti-at"></i>
<i v-else-if="notification.type === 'quote'" class="ti ti-quote"></i>
<i v-else-if="notification.type === 'pollEnded'" class="ti ti-chart-arrows"></i>
<i v-else-if="notification.type === 'achievementEarned'" class="ti ti-military-award"></i>
<i v-else-if="notification.type === 'achievementEarned'" class="ti ti-medal"></i>
<!-- notification.reaction null になることはまずないがここでoptional chaining使うと一部ブラウザで刺さるので念の為 -->
<MkReactionIcon
v-else-if="notification.type === 'reaction'"

View File

@ -105,7 +105,7 @@ export const navbarItemDef = reactive({
},
achievements: {
title: i18n.ts.achievements,
icon: 'ti ti-military-award',
icon: 'ti ti-medal',
show: computed(() => $i != null),
to: '/my/achievements',
},

View File

@ -45,7 +45,7 @@ onDeactivated(() => {
definePageMetadata({
title: i18n.ts.achievements,
icon: 'ti ti-military-award',
icon: 'ti ti-medal',
});
</script>

View File

@ -81,7 +81,7 @@ const headerTabs = $computed(() => user ? [{
}, ...(user.host == null ? [{
key: 'achievements',
title: i18n.ts.achievements,
icon: 'ti ti-military-award',
icon: 'ti ti-medal',
}] : []), ...($i && ($i.id === user.id)) || user.publicReactions ? [{
key: 'reactions',
title: i18n.ts.reaction,