Skip to content

Commit

Permalink
Merge pull request #35 from DataFloz/connector-refactor
Browse files Browse the repository at this point in the history
add connector type to client
  • Loading branch information
ofirelarat authored Jul 1, 2023
2 parents b010fe5 + 6da4235 commit b88ae57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
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;
}

0 comments on commit b88ae57

Please sign in to comment.