Skip to content

Commit

Permalink
more trying to get kafka peer exposed in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Mar 11, 2024
1 parent 7b0b5b9 commit 5844ad0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PeerDB Cloud Template

## Prerequisites

- [NodeJS](https://nodejs.org/en): `18.17.1`
- [NodeJS](https://nodejs.org/en): `LTS`

## Getting Started

Expand Down
1 change: 1 addition & 0 deletions ui/components/PeerComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const DBTypeToImageMapping = (peerType: DBType | string) => {
case DBType.EVENTHUB:
return '/svgs/ms.svg';
case DBType.KAFKA:
case 'KAFKA':
return '/svgs/kafka.svg';
default:
return '/svgs/pg.svg';
Expand Down
3 changes: 2 additions & 1 deletion ui/components/SelectSource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export default function SelectSource({
value === 'SNOWFLAKE' ||
value === 'BIGQUERY' ||
value === 'S3' ||
value === 'CLICKHOUSE')
value === 'CLICKHOUSE' ||
value === 'KAFKA')
)
.map((value) => ({ label: value, value }));

Expand Down

0 comments on commit 5844ad0

Please sign in to comment.