mirror of
https://github.com/certd/certd.git
synced 2026-05-03 12:07:25 +08:00
fix: 修复模版id不正确导致修改到错误的模版流水线bug
This commit is contained in:
@@ -274,6 +274,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
|
||||
RunnableCollection.initPipelineRunnableType(pipeline);
|
||||
pipeline.userId = bean.userId;
|
||||
pipeline.projectId = bean.projectId;
|
||||
if (bean.id) {
|
||||
pipeline.id = bean.id;
|
||||
}
|
||||
let domains = [];
|
||||
if (pipeline.stages) {
|
||||
RunnableCollection.each(pipeline.stages, (runnable: any) => {
|
||||
|
||||
Reference in New Issue
Block a user