update Nav
This commit is contained in:
parent
f9f4de071f
commit
7cf0259eba
@ -1,7 +1,7 @@
|
|||||||
import { useUtils as useI18nUtils } from '@core/libs/i18n'
|
// import { useUtils as useI18nUtils } from '@core/libs/i18n'
|
||||||
import { useUtils as useAclUtils } from '@core/libs/acl'
|
import { useUtils as useAclUtils } from '@core/libs/acl'
|
||||||
|
|
||||||
const { t } = useI18nUtils()
|
// const { t } = useI18nUtils()
|
||||||
const { canViewVerticalNavMenuHeader } = useAclUtils()
|
const { canViewVerticalNavMenuHeader } = useAclUtils()
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -12,7 +12,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
render(h) {
|
render(h) {
|
||||||
const span = h('span', {}, t(this.item.header))
|
const span = h('span', {}, this.item.header)
|
||||||
const icon = h('feather-icon', { props: { icon: 'MoreHorizontalIcon', size: '18' } })
|
const icon = h('feather-icon', { props: { icon: 'MoreHorizontalIcon', size: '18' } })
|
||||||
if (canViewVerticalNavMenuHeader(this.item)) {
|
if (canViewVerticalNavMenuHeader(this.item)) {
|
||||||
return h('li', { class: 'navigation-header text-truncate' }, [span, icon])
|
return h('li', { class: 'navigation-header text-truncate' }, [span, icon])
|
||||||
|
Loading…
Reference in New Issue
Block a user