Skip to content
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
12 changes: 4 additions & 8 deletions config-ui/src/pages/blueprint/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,13 @@ export const BlueprintHomePage = () => {
return 'Advanced Mode';
}
return (
<S.ConnectionList>
<ul>
{connections.map((it) => (
<li>
<ConnectionName
key={`${it.pluginName}-${it.connectionId}`}
plugin={it.pluginName}
connectionId={it.connectionId}
/>
<li key={`${it.pluginName}-${it.connectionId}`}>
<ConnectionName plugin={it.pluginName} connectionId={it.connectionId} />
</li>
))}
</S.ConnectionList>
</ul>
);
},
},
Expand Down
16 changes: 0 additions & 16 deletions config-ui/src/pages/blueprint/home/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,3 @@ export const LabelInfo = styled.i`
export const LabelDescription = styled.p`
margin: 0;
`;

export const ConnectionList = styled.ul`
display: flex;

li {
&:last-child {
&::after {
content: '';
}
}

&::after {
content: ',';
}
}
`;
12 changes: 4 additions & 8 deletions config-ui/src/pages/project/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,17 +142,13 @@ export const ProjectHomePage = () => {
!val || !val.length ? (
'N/A'
) : (
<S.ConnectionList>
<ul>
{val.map((it) => (
<li>
<ConnectionName
key={`${it.pluginName}-${it.connectionId}`}
plugin={it.pluginName}
connectionId={it.connectionId}
/>
<li key={`${it.pluginName}-${it.connectionId}`}>
<ConnectionName plugin={it.pluginName} connectionId={it.connectionId} />
</li>
))}
</S.ConnectionList>
</ul>
),
},
{
Expand Down
16 changes: 0 additions & 16 deletions config-ui/src/pages/project/home/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,3 @@ export const LabelInfo = styled.i`
export const LabelDescription = styled.p`
margin: 0;
`;

export const ConnectionList = styled.ul`
display: flex;

li {
&:last-child {
&::after {
content: '';
}
}

&::after {
content: ',';
}
}
`;