Update WidgetCommandsService.cs (#7477)

Removed hard coded override of the RenderTitle property for Menu Widgets.
This commit is contained in:
Alan Cherney 2016-12-15 15:25:24 -05:00 committed by Sébastien Ros
parent 77db3dd32c
commit c06b2f18a0

View File

@ -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);
}
}
}
}