mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:12:29 +08:00
ux(): added specific fallback logos for plugin depending on type, polished layout selector style
This commit is contained in:
@ -40,7 +40,7 @@ func GetDataSources(c *middleware.Context) {
|
||||
if plugin, exists := plugins.DataSources[ds.Type]; exists {
|
||||
dsItem.TypeLogoUrl = plugin.Info.Logos.Small
|
||||
} else {
|
||||
dsItem.TypeLogoUrl = "public/img/plugin-default-logo_dark.svg"
|
||||
dsItem.TypeLogoUrl = "public/img/icn-datasources.svg"
|
||||
}
|
||||
|
||||
result = append(result, dsItem)
|
||||
|
Reference in New Issue
Block a user