This commit is contained in:
tugcekucukoglu 2024-05-06 16:10:13 +03:00
parent 57ed42cd0d
commit c646fdc214
30 changed files with 64 additions and 64 deletions

View file

@ -25,7 +25,7 @@
</template>
<component v-if="templates.itemicon" :is="templates.itemicon" :item="processedItem.item" :class="cx('itemIcon')" />
<span v-else-if="getItemProp(processedItem, 'icon')" :class="[cx('itemIcon'), getItemProp(processedItem, 'icon')]" v-bind="getPTOptions('itemIcon', processedItem, index)" />
<span :class="cx('label')" v-bind="getPTOptions('label', processedItem, index)">{{ getItemLabel(processedItem) }}</span>
<span :class="cx('itemLabel')" v-bind="getPTOptions('itemLabel', processedItem, index)">{{ getItemLabel(processedItem) }}</span>
</a>
</template>
<component
@ -187,9 +187,9 @@ export default {
),
label: mergeProps(
{
class: this.cx('label')
class: this.cx('itemLabel')
},
this.getPTOptions('label', processedItem, index)
this.getPTOptions('itemLabel', processedItem, index)
),
submenuicon: mergeProps(
{