Refactored user menu and titles

This commit is contained in:
Alexis
2024-08-25 18:24:59 +02:00
parent 8b1eb9c258
commit 3f201b90e3
5 changed files with 105 additions and 40 deletions

View File

@@ -13,7 +13,7 @@ const { data: res, pending } = await useFetch("/api/worlds/query", { query: { id
const world = ref<World>(res.value?.data as World)
useHead({
title: "Profil"
title: world.value.name
})
definePageMeta({
middleware: ["auth-guard"]