diff --git a/doc/configuration/UnstyledDoc.vue b/doc/configuration/UnstyledDoc.vue index c795cd06f..b796f7bfb 100644 --- a/doc/configuration/UnstyledDoc.vue +++ b/doc/configuration/UnstyledDoc.vue @@ -2,7 +2,7 @@

Unstyled mode instructs the components not to add any built-in style classes so that they can be styled using custom css or libraries like Tailwind, Bootstrap or PrimeFlex. Visit - Unstyled mode documentation for more information. + Unstyled mode documentation for more information.

diff --git a/layouts/AppMenuItem.vue b/layouts/AppMenuItem.vue index ff00d8361..14857874b 100644 --- a/layouts/AppMenuItem.vue +++ b/layouts/AppMenuItem.vue @@ -15,6 +15,7 @@ {{ menuitem.name }} + @@ -47,7 +48,8 @@ export default { methods: { isActiveRootmenuItem(menuitem) { return ( - menuitem.children && !menuitem.children.some((item) => item.to === `/${this.$router.currentRoute.value?.name?.replace('-', '/')}` || (item.children && item.children.some((it) => it.to === `/${this.$router.currentRoute.value.name}`))) + menuitem.children && + !menuitem.children.some((item) => item.to === `/${this.$router.currentRoute.value?.name?.replaceAll('-', '/')}` || (item.children && item.children.some((it) => it.to === `/${this.$router.currentRoute.value.name}`))) ); } }