This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch fix-bugs
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/fix-bugs by this push:
new 67e84d064 fix(config-ui): adjust the style for pipeline table
67e84d064 is described below
commit 67e84d06433857bf1ad316f49986b86a04569ab1
Author: mintsweet <[email protected]>
AuthorDate: Thu Dec 28 19:51:43 2023 +1300
fix(config-ui): adjust the style for pipeline table
---
config-ui/src/routes/pipeline/components/table.tsx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config-ui/src/routes/pipeline/components/table.tsx
b/config-ui/src/routes/pipeline/components/table.tsx
index c4c951251..5d56b479e 100644
--- a/config-ui/src/routes/pipeline/components/table.tsx
+++ b/config-ui/src/routes/pipeline/components/table.tsx
@@ -77,11 +77,13 @@ export const PipelineTable = ({ dataSource, pagination,
noData }: Props) => {
title: 'ID',
dataIndex: 'id',
key: 'id',
+ align: 'center',
},
{
title: 'Status',
dataIndex: 'status',
key: 'status',
+ align: 'center',
render: (val) => <PipelineStatus status={val} />,
},
{
@@ -101,6 +103,7 @@ export const PipelineTable = ({ dataSource, pagination,
noData }: Props) => {
{
title: 'Duration',
key: 'duration',
+ align: 'center',
render: (_, { status, beganAt, finishedAt }) => (
<PipelineDuration status={status} beganAt={beganAt}
finishedAt={finishedAt} />
),