Skip to content

Commit

Permalink
fix(primefaces#5562): support style for submenuHeader in Menu
Browse files Browse the repository at this point in the history
  • Loading branch information
i7slegend committed Apr 10, 2024
1 parent 8039d3c commit 6a8ea18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/menu/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
>
<template v-for="(item, i) of model" :key="label(item) + i.toString()">
<template v-if="item.items && visible(item) && !item.separator">
<li v-if="item.items" :id="id + '_' + i" :class="[cx('submenuHeader'), item.class]" role="none" v-bind="ptm('submenuHeader')">
<li v-if="item.items" :id="id + '_' + i" :class="[cx('submenuHeader'), item.class]" :style="item.style" role="none" v-bind="ptm('submenuHeader')">
<slot name="submenuheader" :item="item">{{ label(item) }}</slot>
</li>
<template v-for="(child, j) of item.items" :key="child.label + i + '_' + j">
Expand Down

0 comments on commit 6a8ea18

Please sign in to comment.