|
|
@ -132,9 +132,9 @@ export function useSidebarMenu() { |
|
|
|
const styledSocialItems = socialItems.value.map((item) => { |
|
|
|
const styledSocialItems = socialItems.value.map((item) => { |
|
|
|
const newItem = { |
|
|
|
const newItem = { |
|
|
|
...item, |
|
|
|
...item, |
|
|
|
class: `sub-item-indent${isActive(item) ? ' active' : ''}`, |
|
|
|
class: isActive(item) ? "p-focus" : "", |
|
|
|
icon: item.icon ? `${item.icon} icon-spacing` : null |
|
|
|
icon: item.icon ? item.icon : undefined, |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (newItem.isLink && newItem.route) { |
|
|
|
if (newItem.isLink && newItem.route) { |
|
|
|
newItem.url = newItem.route |
|
|
|
newItem.url = newItem.route |
|
|
|