FS: Apply versionString in help menu in frontend (#112958)

Set version in help menu in the frontend instead
This commit is contained in:
Josh Hunt
2025-10-24 17:42:42 +01:00
committed by GitHub
parent 9b7c68c994
commit 59bfb44a50
6 changed files with 66 additions and 37 deletions
-1
View File
@@ -216,7 +216,6 @@ func (hs *HTTPServer) setIndexViewData(c *contextmodel.ReqContext) (*dtos.IndexV
hs.HooksService.RunIndexDataHooks(&data, c)
data.NavTree.ApplyCostManagementIA()
data.NavTree.ApplyHelpVersion(data.Settings.BuildInfo.VersionString) // RunIndexDataHooks can modify the version string
data.NavTree.Sort()
return &data, nil