mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(plugins): remove app bundled plugins from plugins list
This commit is contained in:
parent
d2aaa2211e
commit
f80c2406a8
@ -17,6 +17,11 @@ func GetPluginList(c *middleware.Context) Response {
|
|||||||
|
|
||||||
result := make([]*dtos.PluginListItem, 0)
|
result := make([]*dtos.PluginListItem, 0)
|
||||||
for _, pluginDef := range plugins.Plugins {
|
for _, pluginDef := range plugins.Plugins {
|
||||||
|
// filter out plugin components
|
||||||
|
if pluginDef.IncludedInAppId != "" {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
listItem := &dtos.PluginListItem{
|
listItem := &dtos.PluginListItem{
|
||||||
PluginId: pluginDef.Id,
|
PluginId: pluginDef.Id,
|
||||||
Name: pluginDef.Name,
|
Name: pluginDef.Name,
|
||||||
|
@ -196,9 +196,8 @@ function (angular, $, moment, _, kbn, GraphTooltip) {
|
|||||||
fill: 1,
|
fill: 1,
|
||||||
fillColor: false,
|
fillColor: false,
|
||||||
radius: panel.points ? panel.pointradius : 2
|
radius: panel.points ? panel.pointradius : 2
|
||||||
// little points when highlight points
|
|
||||||
},
|
},
|
||||||
shadowSize: 1
|
shadowSize: 0
|
||||||
},
|
},
|
||||||
yaxes: [],
|
yaxes: [],
|
||||||
xaxis: {},
|
xaxis: {},
|
||||||
|
Loading…
Reference in New Issue
Block a user