15 docker client #2

Merged
Liosha merged 41 commits from 15-docker-client into development 2026-09-03 20:28:04 +02:00
Showing only changes of commit fae7263127 - Show all commits
@@ -357,10 +357,10 @@ export class ProjectDetailsComponent implements OnInit, OnDestroy, AfterViewChec
}; };
} }
// Отправка монолитного конфига на бэкенд через твой рабочий ProjectService // Отправка монолитного конфига на бэкенд
this.projectService.updateProjectConfig(this.project.id, this.config).subscribe({ this.projectService.updateProjectConfig(this.project.id, this.config).subscribe({
next: (updatedConfig) => { next: () => {
this.config = updatedConfig; // Бэкенд возвращает void (200 OK). Нам НЕ нужно затирать config!
this.editingDomains[container.id] = false; this.editingDomains[container.id] = false;
console.log(`[Caddy] Маршрут для сервиса ${serviceName} успешно сохранён.`); console.log(`[Caddy] Маршрут для сервиса ${serviceName} успешно сохранён.`);
}, },
@@ -370,7 +370,6 @@ export class ProjectDetailsComponent implements OnInit, OnDestroy, AfterViewChec
} }
}); });
} }
cancelEditDomain(containerId: string) { cancelEditDomain(containerId: string) {
this.editingDomains[containerId] = false; this.editingDomains[containerId] = false;
} }