mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 03:14:10 +08:00
Removing unused Default MenuItem attribute
--HG-- branch : dev extra : transplant_source : V%04K%3A%03vLz%8AJ%11%D7%E4%0B%92%7C%FA%A7%0B%07
This commit is contained in:
@@ -18,10 +18,7 @@
|
||||
|
||||
string sectionHeaderText = firstLevelMenuItem.Text;
|
||||
string sectionHeaderTextHint = firstLevelMenuItem.TextHint;
|
||||
var firstOfTheSecond = secondLevelMenuItems.FirstOrDefault(menuItem => menuItem.Default);
|
||||
if (firstOfTheSecond == null) {
|
||||
firstOfTheSecond = secondLevelMenuItems.FirstOrDefault();
|
||||
}
|
||||
var firstOfTheSecond = secondLevelMenuItems.FirstOrDefault();
|
||||
|
||||
var itemClassName = HasText(sectionHeaderTextHint)
|
||||
? "navicon-" + sectionHeaderTextHint.HtmlClassify()
|
||||
|
Reference in New Issue
Block a user