fix: 修复保存配置报id不能为空的bug

pull/148/head
xiaojunnuo 2024-08-04 22:25:51 +08:00
parent a954629ff9
commit 367f807313
1 changed files with 3 additions and 0 deletions

View File

@ -184,6 +184,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
}
async clearTriggers(id: number) {
if (id == null) {
return;
}
const pipeline = await this.info(id);
if (!pipeline) {
return;