fix: addresses

This commit is contained in:
2026-04-15 16:00:42 +02:00
parent 5b6ee6d57a
commit 62aafdc11a
8 changed files with 302 additions and 496 deletions

View File

@@ -205,8 +205,7 @@ const menu = ref<TopMenuItem[] | null>(null)
async function getTopMenu() {
try {
const { items } = await useFetchJson<TopMenuItem[]>('/api/v1/restricted/menu/get-top-menu')
menu.value = items
menu.value = items[0]?.children || []
} catch (err) {
console.log(err)
}