mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
fix: 修复复制流水线保存后丢失分组和排序号的问题
This commit is contained in:
@@ -251,6 +251,7 @@ export class PipelineService extends BaseService<PipelineEntity> {
|
||||
if (bean.id > 0) {
|
||||
//修改
|
||||
old = await this.info(bean.id);
|
||||
bean.order = old.order;
|
||||
}
|
||||
if (!old || !old.webhookKey) {
|
||||
bean.webhookKey = await this.genWebhookKey();
|
||||
|
||||
Reference in New Issue
Block a user