mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Update WidgetCommandsService.cs (#7477)
Removed hard coded override of the RenderTitle property for Menu Widgets.
This commit is contained in:
parent
77db3dd32c
commit
c06b2f18a0
@ -77,7 +77,6 @@ namespace Orchard.Widgets.Services {
|
||||
var menu = _menuService.GetMenu(menuName);
|
||||
|
||||
if (menu != null) {
|
||||
widget.RenderTitle = false;
|
||||
widget.As<MenuWidgetPart>().MenuContentItemId = menu.ContentItem.Id;
|
||||
}
|
||||
}
|
||||
@ -103,4 +102,4 @@ namespace Orchard.Widgets.Services {
|
||||
_contentManager.Publish(widget.ContentItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user