feat(plugins): remove app bundled plugins from plugins list
This commit is contained in:
@@ -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: {},
|
||||
|
||||
Reference in New Issue
Block a user