Merge pull request #3608 from primefaces/issue-3604

Breadcrumb: Home item slot changes
pull/3610/head
Tuğçe Küçükoğlu 2023-01-30 11:17:20 +03:00 committed by GitHub
commit d3c1746bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template>
<nav class="p-breadcrumb p-component">
<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">
<li v-if="home || i !== 0" class="p-menuitem-separator">
<span class="pi pi-chevron-right" aria-hidden="true"></span>