Changed profile from /i to /me

This commit is contained in:
Alexis
2024-08-25 15:24:36 +02:00
parent 05ae4bfb1f
commit 23a9f68b7b
6 changed files with 7 additions and 5 deletions

View File

@@ -40,6 +40,8 @@ function handleMenuItemAction(actionType: SidebarMenuActionType) {
</UiTooltipProvider>
</template>
<template v-else/>
<li v-for="(item, i) in currentMenu" :key="i">
<UiTooltipProvider :delay-duration="50">
<UiTooltip>

View File

@@ -8,7 +8,7 @@ const router = useRouter()
const { auth } = useSupabaseClient()
const user = useSupabaseUser()
const userMeta = computed(() => user.value?.user_metadata)
const profileUrl: string = `${useRequestURL().origin}/i/`
const profileUrl: string = `${useRequestURL().origin}/me/`
const menuOpened = ref<boolean>(false)
@@ -45,7 +45,7 @@ async function handleLogout() {
}
function gotoProfilePage() {
router.push({ path: "/i" })
router.push({ path: "/me" })
closeMenu()
}