Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Use correct name for connection, use correct badge variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Arze Leon authored and Rodrigo Arze Leon committed Oct 28, 2024
1 parent f656890 commit 8c2a3e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/engine-frontend/components/ConnectionPortal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export function ConnectionPortal({className}: ConnectionPortalProps) {
),
}))
const connectionCount = connections.length
console.log({connectionCount})

const tabConfig = [
{
Expand Down
11 changes: 7 additions & 4 deletions packages/engine-frontend/components/ConnectionsTabContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export function ConnectionsTabContent({
if (event.type === 'close') {
refetch() // Trigger refetch
}
}}></ConnectDialog>
}}
/>
</div>
) : (
<div className="p-4">
Expand All @@ -72,10 +73,12 @@ export function ConnectionsTabContent({
<div className="flex h-full flex-col justify-center">
<div className="flex flex-row items-center gap-2">
<h4 className="font-bold">
{conn.connectorName.charAt(0).toUpperCase() +
conn.connectorName.slice(1)}
{conn.connectorConfig.connector.displayName
.charAt(0)
.toUpperCase() +
conn.connectorConfig.connector.displayName.slice(1)}
</h4>
<Badge variant="secondary">{category.name}</Badge>
<Badge variant="outline">{category.name}</Badge>
</div>
{conn.pipelineIds.length > 0 && (
<div className="mt-2">
Expand Down

0 comments on commit 8c2a3e7

Please sign in to comment.