feat(plugins): remove app bundled plugins from plugins list

pull/4294/head
Torkel Ödegaard 10 years ago
parent d2aaa2211e
commit f80c2406a8
  1. 5
      pkg/api/plugin_setting.go
  2. 3
      public/app/plugins/panel/graph/graph.js

@ -17,6 +17,11 @@ func GetPluginList(c *middleware.Context) Response {
result := make([]*dtos.PluginListItem, 0)
for _, pluginDef := range plugins.Plugins {
// filter out plugin components
if pluginDef.IncludedInAppId != "" {
continue
}
listItem := &dtos.PluginListItem{
PluginId: pluginDef.Id,
Name: pluginDef.Name,

@ -196,9 +196,8 @@ function (angular, $, moment, _, kbn, GraphTooltip) {
fill: 1,
fillColor: false,
radius: panel.points ? panel.pointradius : 2
// little points when highlight points
},
shadowSize: 1
shadowSize: 0
},
yaxes: [],
xaxis: {},

Loading…
Cancel
Save