Fixed variable

pull/880/head
Cagatay Civici 2021-01-20 13:04:04 +03:00
parent a9a79a5980
commit 1c4d8f42de
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<li class="p-submenu-header" :key="item.label+i" v-if="item.items">{{item.label}}</li> <li class="p-submenu-header" :key="item.label+i" v-if="item.items">{{item.label}}</li>
<template v-for="(child, j) of item.items"> <template v-for="(child, j) of item.items">
<Menuitem v-if="visible(child) && !child.separator" :key="child.label + i + j" :item="child" @click="itemClick" /> <Menuitem v-if="visible(child) && !child.separator" :key="child.label + i + j" :item="child" @click="itemClick" />
<li v-else-if="visible(child) && child.separator" :class="['p-menu-separator', item.class]" :style="child.style" :key="'separator' + i + j" role="separator"></li> <li v-else-if="visible(child) && child.separator" :class="['p-menu-separator', child.class]" :style="child.style" :key="'separator' + i + j" role="separator"></li>
</template> </template>
</template> </template>
<li v-else-if="visible(item) && item.separator" :class="['p-menu-separator', item.class]" :style="item.style" :key="'separator' + i" role="separator"></li> <li v-else-if="visible(item) && item.separator" :class="['p-menu-separator', item.class]" :style="item.style" :key="'separator' + i" role="separator"></li>