Added Highlighting for Accordions
This commit is contained in:
@@ -268,7 +268,7 @@ const links = computed(() => {
|
||||
<template #default="{item,index,open}">
|
||||
<UButton
|
||||
variant="ghost"
|
||||
color="gray"
|
||||
:color="item.children.find(i => route.path.includes(i.to)) ? 'primary' : 'gray'"
|
||||
:icon="item.icon"
|
||||
>
|
||||
{{item.label}}
|
||||
|
||||
Reference in New Issue
Block a user