mirror of https://github.com/certd/certd
fix: 修复保存配置报id不能为空的bug
parent
a954629ff9
commit
367f807313
|
@ -184,6 +184,9 @@ export class PipelineService extends BaseService<PipelineEntity> {
|
||||||
}
|
}
|
||||||
|
|
||||||
async clearTriggers(id: number) {
|
async clearTriggers(id: number) {
|
||||||
|
if (id == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const pipeline = await this.info(id);
|
const pipeline = await this.info(id);
|
||||||
if (!pipeline) {
|
if (!pipeline) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue