Skip to content

Commit

Permalink
fix for pages that have URLs but are not coupled pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kentico-ericd committed May 23, 2022
1 parent 627224d commit 24be03f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Xperience.Core.Breadcrumbs/Services/BreadcrumbHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ private IEnumerable<BreadcrumbItem> BuildHierarchyInternal(TreeNode current, Bre
var type = DataClassInfoProvider.GetDataClassInfo(parent.ClassName);
if (type != null)
{
if (type.ClassIsCoupledClass ||
!type.ClassIsCoupledClass && props.ShowContainers)
if (type.ClassHasURL ||
(!type.ClassIsCoupledClass && props.ShowContainers))
{
ret.Add(breadcrumbItemMapper.MapPage(parent));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>3.0.0</Version>
<Version>3.0.1</Version>
<Authors>Eric Dugre</Authors>
<Company>Kentico</Company>
<Description>A breadcrumbs widget for Xperience .NET Core websites</Description>
Expand Down

0 comments on commit 24be03f

Please sign in to comment.