1
0
forked from mirror/misskey
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 === 'mention'" class="ti ti-at"></i>
<i v-else-if="notification.type === 'quote'" class="ti ti-quote"></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 === '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使うと一部ブラウザで刺さるので念の為 --> <!-- notification.reaction null になることはまずないがここでoptional chaining使うと一部ブラウザで刺さるので念の為 -->
<MkReactionIcon <MkReactionIcon
v-else-if="notification.type === 'reaction'" v-else-if="notification.type === 'reaction'"

View File

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

View File

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

View File

@ -81,7 +81,7 @@ const headerTabs = $computed(() => user ? [{
}, ...(user.host == null ? [{ }, ...(user.host == null ? [{
key: 'achievements', key: 'achievements',
title: i18n.ts.achievements, title: i18n.ts.achievements,
icon: 'ti ti-military-award', icon: 'ti ti-medal',
}] : []), ...($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,