fix(Breadcrumb): pass click event to ULink

This commit is contained in:
Benjamin Canac
2024-04-16 10:36:44 +02:00
parent 6f60fa9a98
commit 5481dab53d

View File

@@ -7,6 +7,7 @@
:class="[ui.base, index === links.length - 1 ? ui.active : !!link.to ? ui.inactive : '']"
v-bind="getULinkProps(link)"
:aria-current="index === links.length - 1 ? 'page' : undefined"
@click="link.click"
>
<slot name="icon" :link="link" :index="index" :is-active="index === links.length - 1">
<UIcon