This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 3780fbb39 fix(config-ui): adjust the style for data scope table (#5452)
3780fbb39 is described below
commit 3780fbb39fe0082f99e263b590b69941f0c8f4bb
Author: 青湛 <[email protected]>
AuthorDate: Tue Jun 13 20:39:36 2023 +0800
fix(config-ui): adjust the style for data scope table (#5452)
---
config-ui/src/pages/connection/detail/index.tsx | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/config-ui/src/pages/connection/detail/index.tsx
b/config-ui/src/pages/connection/detail/index.tsx
index d8c2783f2..5c4b5eec4 100644
--- a/config-ui/src/pages/connection/detail/index.tsx
+++ b/config-ui/src/pages/connection/detail/index.tsx
@@ -215,11 +215,19 @@ const ConnectionDetail = ({ plugin, connectionId }:
Props) => {
key: 'project',
render: (blueprints) => (
<>
- {blueprints?.length
- ? blueprints?.map((bp: any) =>
- bp.projectName ? <Link
to={`/projects/${bp.projectName}`}>{bp.projectName}</Link> : '-',
- )
- : '-'}
+ {blueprints?.length ? (
+ <ul>
+ {blueprints.map((bp: any, i: number) =>
+ bp.projectName ? (
+ <li>
+ <Link
to={`/projects/${bp.projectName}`}>{bp.projectName}</Link>
+ </li>
+ ) : null,
+ )}
+ </ul>
+ ) : (
+ '-'
+ )}
</>
),
},