mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4399 - Breadcrumb: duplicate key warning
This commit is contained in:
parent
46cf924d09
commit
82442f8d13
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<nav :class="cx('root')" v-bind="ptm('root')" data-pc-name="breadcrumb">
|
||||
<ol :class="cx('menu')" v-bind="ptm('menu')">
|
||||
<BreadcrumbItem v-if="home" :item="home" :class="cx('home')" :templates="$slots" :exact="exact" :pt="pt" :unstyled="unstyled" v-bind="ptm('home')" />
|
||||
<template v-for="(item, i) of model" :key="item.label">
|
||||
<template v-for="(item, i) of model" :key="item.label + '_' + i">
|
||||
<li v-if="home || i !== 0" :class="cx('separator')" v-bind="ptm('separator')">
|
||||
<slot name="separator">
|
||||
<ChevronRightIcon aria-hidden="true" v-bind="ptm('separatorIcon')" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue