mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +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();
|
dynamic menuShape = shapeHelper.Menu();
|
||||||
|
|
||||||
if (part.Breadcrumb) {
|
if (part.Breadcrumb && selectedPath != null) {
|
||||||
menuItems = selectedPath;
|
menuItems = selectedPath;
|
||||||
foreach (var menuItem in menuItems) {
|
foreach (var menuItem in menuItems) {
|
||||||
menuItem.Items = Enumerable.Empty<MenuItem>();
|
menuItem.Items = Enumerable.Empty<MenuItem>();
|
||||||
|
|||||||
Reference in New Issue
Block a user