TopNav: Make it possible to to have sections without children (#57815)

This commit is contained in:
Torkel Ödegaard
2022-10-31 11:01:34 +01:00
committed by GitHub
parent 656f159ae9
commit 19b961465c
4 changed files with 7 additions and 1 deletions
@@ -71,6 +71,7 @@ func (s *ServiceImpl) processAppPlugin(plugin plugins.PluginDTO, c *models.ReqCo
Img: plugin.Info.Logos.Small,
Section: navtree.NavSectionPlugin,
SortWeight: navtree.WeightPlugin,
IsSection: true,
}
if topNavEnabled {