Skip to content

Commit

Permalink
Refactor #1749
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 23, 2021
1 parent 8af378a commit 32d77a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/menubar/MenubarSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<li role="none" :class="getItemClass(item)" :style="item.style" v-if="visible(item) && !item.separator" :key="label(item) + i"
@mouseenter="onItemMouseEnter($event, item)">
<router-link v-if="item.to && !disabled(item)" :to="item.to" custom v-slot="{navigate, href, isActive, isExactActive}">
<a :href="href" :class="linkClass(item, {isActive, isExactActive})" @click="onItemClick($event, item, navigate)" @keydown.native="onItemKeyDown($event, item)"
<a :href="href" :class="linkClass(item, {isActive, isExactActive})" @click="onItemClick($event, item, navigate)" @keydown="onItemKeyDown($event, item)"
role="menuitem" v-ripple>
<span :class="['p-menuitem-icon', item.icon]"></span>
<span class="p-menuitem-text">{{label(item)}}</span>
Expand Down

0 comments on commit 32d77a0

Please sign in to comment.