fix: wrong route name in breadcrumb

This commit is contained in:
axolotle 2024-08-22 00:49:28 +02:00
parent d2cf9522b1
commit ee6f93505f

View file

@ -91,7 +91,11 @@ export const useInfos = createGlobalState(() => {
`Route ${name}, declared in breadcrumd, cannot be found in routes.`,
)
}
return { name: to.name, params: to.params, args: route.meta.args || {} }
return {
name: route.name,
params: to.params,
args: route.meta.args || {},
}
})
updateHtmlTitle()