Commit ca5a34ad by Torkel Ödegaard

fix(datasource): filter out built in data sources from data source type dropdown

parent 953a0725
......@@ -48,6 +48,13 @@ func GetPluginList(c *middleware.Context) Response {
continue
}
// filter out built in data sources
if ds, exists := plugins.DataSources[pluginDef.Id]; exists {
if ds.BuiltIn {
continue
}
}
result = append(result, listItem)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment