Skip to content

Commit

Permalink
Merge pull request neos#1702 from cvette/bugfix/cv-submodule-hide-in-…
Browse files Browse the repository at this point in the history
…menu

BUGFIX: Fix hideInMenu setting for submodules
  • Loading branch information
dimaip authored Mar 8, 2018
2 parents 545049e + 3862887 commit fb12164
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Resources/Private/Fusion/Backend/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ backend = Neos.Fusion:Template {
}
isActive = true
target = 'Window'
@if.isAvailable = ${Neos.Ui.Modules.isAvailable(submoduleName)}

@if {
isNotHiddenInMenu = ${!submodule.hideInMenu}
isAvailable = ${Neos.Ui.Modules.isAvailable(submoduleName)}
}
}
}

Expand Down

0 comments on commit fb12164

Please sign in to comment.