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

View File

@@ -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,

View File

@@ -6,6 +6,7 @@ import { SshClient } from '../../lib/ssh.js';
title: '执行远程主机脚本命令',
icon: 'tabler:brand-powershell',
group: pluginGroups.host.key,
desc: '可以执行重启nginx等操作让证书生效',
input: {},
default: {
strategy: {