chore: only set this if not showCurrentPage is set.
This commit is contained in:
parent
c73e64e1d2
commit
fac3ef796e
@ -153,7 +153,7 @@ export default ((opts?: Partial<BreadcrumbOptions>) => {
|
|||||||
crumbs.push(crumb)
|
crumbs.push(crumb)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isTagPath) {
|
if (isTagPath && !options.showCurrentPage) {
|
||||||
crumbs.push({ displayName: slugParts.at(-1) ?? "", path: "" })
|
crumbs.push({ displayName: slugParts.at(-1) ?? "", path: "" })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user