diff --git a/src/components/AppHeader.vue b/src/components/AppHeader.vue index ae964f93..f4cfd638 100644 --- a/src/components/AppHeader.vue +++ b/src/components/AppHeader.vue @@ -18,7 +18,7 @@ Settings - + diff --git a/src/components/AppSidebarNav.js b/src/components/AppSidebarNav.js index f7284c49..4fbb19b3 100644 --- a/src/components/AppSidebarNav.js +++ b/src/components/AppSidebarNav.js @@ -1,7 +1,7 @@ import { defineComponent, h, resolveComponent } from 'vue' import { RouterLink, useRoute } from 'vue-router' -import { CSidebarNav, CNavItem, CNavGroup, CNavTitle } from '@coreui/vue' +import { CBadge, CSidebarNav, CNavItem, CNavGroup, CNavTitle } from '@coreui/vue' import nav from '@/_nav.js' const AppSidebarNav = defineComponent({ @@ -49,9 +49,9 @@ const AppSidebarNav = defineComponent({ if (item.items) { return h( - resolveComponent('CNavGroup'), + CNavGroup, { - visible: item.items.some((child) => isActiveItem(route, child)), + active: item.items.some((child) => isActiveItem(route, child)), }, { togglerContent: () => [ @@ -92,7 +92,7 @@ const AppSidebarNav = defineComponent({ item.name, item.badge && h( - resolveComponent('CBadge'), + CBadge, { class: 'ms-auto', color: item.badge.color, diff --git a/src/views/theme/Typography.vue b/src/views/theme/Typography.vue index 39d50a73..c4cd5d96 100644 --- a/src/views/theme/Typography.vue +++ b/src/views/theme/Typography.vue @@ -1,7 +1,7 @@ - + Headings @@ -92,7 +92,7 @@ - + Headings @@ -111,7 +111,7 @@ - + Display headings @@ -148,7 +148,7 @@ - + Inline text elements @@ -182,13 +182,13 @@ - This line rendered as bold text. + This line rendered as bold text. This line rendered as italicized text. - + Description list alignment
@@ -92,7 +92,7 @@
@@ -111,7 +111,7 @@
@@ -148,7 +148,7 @@
@@ -182,13 +182,13 @@
- This line rendered as bold text. + This line rendered as bold text.
This line rendered as italicized text.