mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
#18914: Fixing breadcrumb widget when using another menu
Work Item: 18914 --HG-- branch : 1.x
This commit is contained in:
@@ -79,7 +79,7 @@ namespace Orchard.Core.Navigation.Drivers {
|
||||
|
||||
dynamic menuShape = shapeHelper.Menu();
|
||||
|
||||
if (part.Breadcrumb) {
|
||||
if (part.Breadcrumb && selectedPath != null) {
|
||||
menuItems = selectedPath;
|
||||
foreach (var menuItem in menuItems) {
|
||||
menuItem.Items = Enumerable.Empty<MenuItem>();
|
||||
|
Reference in New Issue
Block a user