Skip to content

Commit

Permalink
mysql logo
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 17, 2025
1 parent 8e7c85b commit 7e0c7dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/components/PeerComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const DBTypeToImageMapping = (peerType: DBType | string) => {
case DBType.POSTGRES:
case 'POSTGRES':
return '/svgs/pg.svg';
case DBType.MYSQL:
case 'MYSQL':
return '/svgs/mysql.svg';
case DBType.SNOWFLAKE:
case 'SNOWFLAKE':
return '/svgs/sf.svg';
Expand All @@ -34,8 +37,8 @@ export const DBTypeToImageMapping = (peerType: DBType | string) => {
case DBType.S3:
case 'S3':
return '/svgs/aws.svg';
case 'CLICKHOUSE':
case DBType.CLICKHOUSE:
case 'CLICKHOUSE':
return '/svgs/ch.svg';
case DBType.EVENTHUBS:
return '/svgs/ms.svg';
Expand Down
2 changes: 2 additions & 0 deletions ui/components/PeerTypeComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export const DBTypeToGoodText = (ptype?: DBType) => {
switch (dBTypeFromJSON(ptype)) {
case DBType.POSTGRES:
return 'PostgreSQL';
case DBType.MYSQL:
return 'MySQL';
case DBType.SNOWFLAKE:
return 'Snowflake';
case DBType.EVENTHUBS:
Expand Down
1 change: 1 addition & 0 deletions ui/public/svgs/mysql.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7e0c7dd

Please sign in to comment.