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

This commit is contained in:
Torkel Ödegaard 2016-03-08 11:29:36 +01:00
parent d2aaa2211e
commit f80c2406a8
2 changed files with 6 additions and 2 deletions

View File

@ -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,

View File

@ -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: {},