Fixed: ComponentConfig::getAppBarWebInfos creates infos only for components
without <<app-bar-display="false">> (OFBIZ-10637) LoginWorked::getAppBarWebInfos is used to define the apps menus in themes so we need to also check that no menuName is passed to ComponentConfig::getAppBarWebInfos. Else all menus appears in the secondary menu bars git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1845552 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -216,7 +216,7 @@ public final class ComponentConfig {
|
||||
} else {
|
||||
tm.put(key, wInfo);
|
||||
}
|
||||
} if (!wInfo.getAppBarDisplay()) {
|
||||
} if (!wInfo.getAppBarDisplay() && UtilValidate.isEmpty(menuName)) {
|
||||
tm.put(key, wInfo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user