Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add connector type to client #35

Merged
merged 1 commit into from
Jul 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client/src/components/connectors-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export default function PipelinesTable({ connector }: TableProps) {
defaultValue="customization"
>
<Accordion.Item value="customization" key={connector.name}>
<Accordion.Control>Kafka Connector</Accordion.Control>
<Accordion.Control>Connector</Accordion.Control>
<Accordion.Panel>
{connector.name}, {connector.brokers} | {connector.group_id}
{connector.name} ({connector.type}), {connector.brokers} | {connector.group_id}
</Accordion.Panel>
</Accordion.Item>
</Accordion>
Expand Down
1 change: 1 addition & 0 deletions client/src/context/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const DataProvider = ({ children }: Props): JSX.Element => {
pipelines: [],
connector: {
name: '',
type: '',
brokers: '',
group_id: '',
},
Expand Down
1 change: 1 addition & 0 deletions client/src/models/connector.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export interface Connector {
name: string;
type: string;
brokers: string;
group_id: string;
}