kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 18:54:02 +02:00
parent 66dc5f2111
commit b75269fa6c
4 changed files with 108 additions and 3 deletions

View file

@ -65,7 +65,7 @@ async function saveDeployConfig(projectId: string) {
deploy_path: deployPaths.value[projectId],
deploy_runtime: deployRuntimes.value[projectId],
deploy_restart_cmd: deployRestartCmds.value[projectId],
deploy_command: deployCommands.value[projectId] || undefined,
deploy_command: deployCommands.value[projectId],
})
saveDeployConfigStatus.value[projectId] = 'Saved'
} catch (e: unknown) {
@ -150,7 +150,7 @@ async function addLink(projectId: string) {
await api.createProjectLink({
from_project: projectId,
to_project: form.to_project,
link_type: form.link_type,
type: form.link_type,
description: form.description || undefined,
})
showAddLinkForm.value[projectId] = false
@ -306,7 +306,7 @@ async function deleteLink(projectId: string, linkId: number) {
<span class="text-gray-500 font-mono">{{ link.from_project }}</span>
<span class="text-gray-600">&#x2192;</span>
<span class="text-gray-500 font-mono">{{ link.to_project }}</span>
<span class="px-1 bg-indigo-900/30 text-indigo-400 border border-indigo-800 rounded">{{ link.link_type }}</span>
<span class="px-1 bg-indigo-900/30 text-indigo-400 border border-indigo-800 rounded">{{ link.type }}</span>
<span v-if="link.description" class="text-gray-600">{{ link.description }}</span>
<button @click="deleteLink(project.id, link.id)"
class="ml-auto text-red-500 hover:text-red-400 bg-transparent border-none cursor-pointer text-xs shrink-0">