$slots item added to home

pull/3608/head
Bahadır Sofuoğlu 2023-01-30 11:01:06 +03:00
parent cf635e5caa
commit 1fcb282ae4
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<nav class="p-breadcrumb p-component"> <nav class="p-breadcrumb p-component">
<ol class="p-breadcrumb-list"> <ol class="p-breadcrumb-list">
<BreadcrumbItem v-if="home" :item="home" class="p-breadcrumb-home" :exact="exact" /> <BreadcrumbItem v-if="home" :item="home" class="p-breadcrumb-home" :template="$slots.item" :exact="exact" />
<template v-for="(item, i) of model" :key="item.label"> <template v-for="(item, i) of model" :key="item.label">
<li v-if="home || i !== 0" class="p-menuitem-separator"> <li v-if="home || i !== 0" class="p-menuitem-separator">
<span class="pi pi-chevron-right" aria-hidden="true"></span> <span class="pi pi-chevron-right" aria-hidden="true"></span>