We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5c600b commit 30ae677Copy full SHA for 30ae677
src/components/template/CSidebarNavDropdown.vue
@@ -76,8 +76,9 @@ export default {
76
},
77
computedIcon () {
78
if (typeof this.icon === 'object') {
79
+ const key = this.icon.size ? 'class' : 'customClasses'
80
return Object.assign(
- { customClasses: 'c-sidebar-nav-icon' },
81
+ { [`${key}`]: 'c-sidebar-nav-icon' },
82
this.icon
83
)
84
} else {
0 commit comments