remove grafana specific config from package (#44866)

This commit is contained in:
Will Browne
2022-02-04 18:14:53 +01:00
committed by GitHub
parent 5c87044aa2
commit 126ed461b1
5 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package api
import (
"fmt"
"path"
"sort"
"strings"
@@ -80,7 +81,7 @@ func (hs *HTTPServer) getAppLinks(c *models.ReqContext) ([]*dtos.NavLink, error)
appLink := &dtos.NavLink{
Text: plugin.Name,
Id: "plugin-page-" + plugin.ID,
Url: plugin.DefaultNavURL,
Url: path.Join(hs.Cfg.AppSubURL, plugin.DefaultNavURL),
Img: plugin.Info.Logos.Small,
SortWeight: dtos.WeightPlugin,
}