MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / getConnectionLogo

Function getConnectionLogo

client/src/modules/getConnectionLogo.js:3–7  ·  view source on GitHub ↗
(connection, isDark)

Source from the content-addressed store, hash-verified

1import { findSourceForConnection, getSourceLogo } from "../sources";
2
3export default function getConnectionLogo(connection, isDark) {
4 const source = findSourceForConnection(connection);
5
6 return getSourceLogo(source, isDark);
7}

Callers 10

_getConnectionLogoFunction · 0.85
ChartDatasetsFunction · 0.85
ChartDatasetConfigFunction · 0.85
ConnectionTemplatesFunction · 0.85
CustomTemplateFormFunction · 0.85
DatarequestSettingsFunction · 0.85
DatasetQueryFunction · 0.85
DashboardStarterFunction · 0.85
ConnectionListFunction · 0.85
DatasetListFunction · 0.85

Calls 2

findSourceForConnectionFunction · 0.90
getSourceLogoFunction · 0.90

Tested by

no test coverage detected