fix: 修复流水线列表step数量统计错误的bug

This commit is contained in:
xiaojunnuo
2025-12-29 22:27:31 +08:00
parent f223f042de
commit 0e5a4fb098

View File

@@ -131,7 +131,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
let stepCount = 0;
if (pipeline.stages) {
RunnableCollection.each(pipeline.stages, (runnable: any) => {
stepCount++;
if (runnable.runnableType === "step") {
stepCount++;
}
});
}
// @ts-ignore