Skip to content

Commit

Permalink
fix: issue with menu configuration with override
Browse files Browse the repository at this point in the history
  • Loading branch information
lme-axelor committed Jan 30, 2025
1 parent 53e4c3a commit f9234cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelogs/unreleased/navigation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "Menu management: apply override before checking accessibility and order to match configuration",
"type": "fix",
"packages": "core"
}
7 changes: 3 additions & 4 deletions packages/core/src/navigator/Navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,9 @@ const Navigator = ({mainMenu, onRefresh, versionCheckConfig}) => {
() =>
manageWebCompatibility(
manageWebConfig(
manageOverridingMenus(
manageSubMenusOverriding(
checkModulesMenusAccessibility(modules, mobileSettings?.apps),
),
checkModulesMenusAccessibility(
manageOverridingMenus(manageSubMenusOverriding(modules)),
mobileSettings?.apps,
),
storeState,
),
Expand Down

0 comments on commit f9234cb

Please sign in to comment.