fix: 修复历史记录不能按名称查询的bug

This commit is contained in:
xiaojunnuo
2024-10-30 15:19:35 +08:00
parent 764326ab16
commit 6113c388b7
3 changed files with 11 additions and 0 deletions
@@ -47,6 +47,7 @@ export class HistoryController extends CrudController<HistoryService> {
let pipelineIds: any = null;
const pipelineTitle = body.query?.pipelineTitle;
delete body.query.pipelineTitle;
if (pipelineTitle) {
const pipelines = await this.pipelineService.list({
query: pipelineQuery,