Add back button to achievement page

Signed-off-by: limepotato <limepot@protonmail.ch>
This commit is contained in:
Crimekillz 2024-04-06 01:39:05 +02:00 committed by Iceshrimp development
parent 0298aa3ee0
commit 23b1d9bd06
2 changed files with 5 additions and 5 deletions

View file

@ -107,10 +107,10 @@ export const navbarItemDef = reactive({
to: "/my/groups",
},
achievements: {
title: i18n.ts.achievements,
icon: 'ph-awards-military ph-bold',
title: "achievements",
icon: "ph-medal-military ph-bold ph-lg",
show: computed(() => $i != null),
to: '/my/achievements',
to: "/my/achievements",
},
ui: {
title: "switchUi",

View file

@ -1,6 +1,6 @@
<template>
<MkStickyContainer>
<template #header><MkPageHeader/></template>
<template #header><MkPageHeader :display-back-button="true" /></template>
<MkSpacer :content-max="1200">
<MkAchievements :user="$i"/>
</MkSpacer>
@ -16,7 +16,7 @@ import { $i } from '@/account';
definePageMetadata({
title: i18n.ts.achievements,
icon: 'ph-awards-military ph-bold',
icon: 'ph-medal-military ph-bold ph-lg',
});
</script>