Skip to content

Commit

Permalink
fix(Breadcrumb): pass click event to ULink
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Apr 16, 2024
1 parent 6f60fa9 commit 5481dab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/components/navigation/Breadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5481dab

Please sign in to comment.