mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(datasource): filter out built in data sources from data source type dropdown
This commit is contained in:
parent
953a07252a
commit
ca5a34ad1e
@ -48,6 +48,13 @@ func GetPluginList(c *middleware.Context) Response {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// filter out built in data sources
|
||||||
|
if ds, exists := plugins.DataSources[pluginDef.Id]; exists {
|
||||||
|
if ds.BuiltIn {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
result = append(result, listItem)
|
result = append(result, listItem)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user