Navigation: Remove ApplyAdminIA logic (#89113)

make admin IA more normal
This commit is contained in:
Ashley Harrison
2024-06-12 16:45:13 +01:00
committed by GitHub
parent 5bb10d84e0
commit 822644714a
6 changed files with 166 additions and 196 deletions

View File

@@ -158,7 +158,7 @@ func (hs *HTTPServer) setIndexViewData(c *contextmodel.ReqContext) (*dtos.IndexV
hs.HooksService.RunIndexDataHooks(&data, c)
data.NavTree.ApplyAdminIA()
data.NavTree.ApplyCostManagementIA()
data.NavTree.ApplyHelpVersion(data.Settings.BuildInfo.VersionString) // RunIndexDataHooks can modify the version string
data.NavTree.Sort()