From 7ef0b9d4ef29d5f85d1e429ef5ce6836445291e4 Mon Sep 17 00:00:00 2001 From: Gros Frumos Date: Tue, 17 Mar 2026 18:37:02 +0200 Subject: [PATCH] =?UTF-8?q?kin:=20KIN-OBS-025=20PM-=D0=BB=D0=BE=D0=B3?= =?UTF-8?q?=D0=B8=20=D0=BD=D0=B5=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=B2=20pipeline=5Flog:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=86=D0=B8=D1=8E=20PM-=D1=88?= =?UTF-8?q?=D0=B0=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/frontend/src/api.ts | 4 ++-- web/frontend/src/views/SettingsView.vue | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/frontend/src/api.ts b/web/frontend/src/api.ts index 7c27ef9..1002848 100644 --- a/web/frontend/src/api.ts +++ b/web/frontend/src/api.ts @@ -190,7 +190,7 @@ export interface ProjectLink { id: number from_project: string to_project: string - link_type: string + type: string description: string | null created_at: string } @@ -415,7 +415,7 @@ export const api = { get(`/pipelines/${pipelineId}/logs?since_id=${sinceId}`), projectLinks: (projectId: string) => get(`/projects/${projectId}/links`), - createProjectLink: (data: { from_project: string; to_project: string; link_type: string; description?: string }) => + createProjectLink: (data: { from_project: string; to_project: string; type: string; description?: string }) => post('/project-links', data), deleteProjectLink: (id: number) => del(`/project-links/${id}`), diff --git a/web/frontend/src/views/SettingsView.vue b/web/frontend/src/views/SettingsView.vue index bf7c70c..9cd847e 100644 --- a/web/frontend/src/views/SettingsView.vue +++ b/web/frontend/src/views/SettingsView.vue @@ -61,10 +61,10 @@ async function saveDeployConfig(projectId: string) { saveDeployConfigStatus.value[projectId] = '' try { await api.patchProject(projectId, { - deploy_host: deployHosts.value[projectId] || undefined, - deploy_path: deployPaths.value[projectId] || undefined, - deploy_runtime: deployRuntimes.value[projectId] || undefined, - deploy_restart_cmd: deployRestartCmds.value[projectId] || undefined, + deploy_host: deployHosts.value[projectId], + deploy_path: deployPaths.value[projectId], + deploy_runtime: deployRuntimes.value[projectId], + deploy_restart_cmd: deployRestartCmds.value[projectId], deploy_command: deployCommands.value[projectId] || undefined, }) saveDeployConfigStatus.value[projectId] = 'Saved'