"Applied fix from trunk for revision: 1845552 "
------------------------------------------------------------------------ r1845552 | jleroux | 2018-11-02 09:48:31 +0100 (ven. 02 nov. 2018) | 9 lignes 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/branches/release17.12@1845553 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