Navigation: Split admin into subsections behind navAdminSubsections feature toggle (#76280)

* split admin into subsections behind feature toggle

* make authentication a section header

* add translations for subsections

* rename translation keys

* add subtitles
This commit is contained in:
Ashley Harrison
2023-10-11 14:37:36 +01:00
committed by GitHub
parent 14d01e2b6e
commit effd2a1189
10 changed files with 181 additions and 32 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func (hs *HTTPServer) setIndexViewData(c *contextmodel.ReqContext) (*dtos.IndexV
hs.HooksService.RunIndexDataHooks(&data, c)
data.NavTree.ApplyAdminIA()
data.NavTree.ApplyAdminIA(hs.Cfg.IsFeatureToggleEnabled(featuremgmt.FlagNavAdminSubsections))
data.NavTree.Sort()
return &data, nil