Skip to content

Commit

Permalink
fix: 流水线页面是否异步标签展示不准确
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Mar 22, 2023
1 parent 688172b commit dec024b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/admin/src/pages/Pipeline/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default function () {
title: '是否异步',
width: 60,
render: (_, record) => {
const passive = pipelineConfig.find(item => item.eventName === record.eventName)?.passive || true;
return (<Tag children={passive ? "异步" : "非异步"} color={passive ? "green" : "gray"} />)
const passive = pipelineConfig.find(item => item.eventName === record.eventName)?.passive;
return (<Tag children={passive ? "异步" : "阻塞"} color={passive ? "green" : "red"} />)
}
},
{
Expand Down

0 comments on commit dec024b

Please sign in to comment.