Added Highlighting for Accordions

This commit is contained in:
2024-07-21 22:53:17 +02:00
parent d31478a858
commit d915cce277

View File

@@ -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}}