Chore: Remove navAdminSubsections toggle (#78179)

* remove navAdminSubsections toggle

* missed one!
This commit is contained in:
Ashley Harrison
2023-11-17 10:04:34 +00:00
committed by GitHub
parent 2a5547e1b5
commit 7404ed66f6
8 changed files with 74 additions and 112 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(hs.Features.IsEnabled(c.Req.Context(), featuremgmt.FlagNavAdminSubsections))
data.NavTree.ApplyAdminIA()
data.NavTree.Sort()
return &data, nil