feat: add stage management UI, fix null stages
- Add Stage button with inline form (name, tag pattern, max instances, auto deploy) - Delete stage button per stage header - Add createStage/updateStage/deleteStage to API client - Fix null stages crash on env page - Fix null slices globally in respondJSON via reflection
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@
|
||||
error = '';
|
||||
try {
|
||||
const detail = await api.getProject(projectId);
|
||||
stages = detail.stages;
|
||||
stages = detail.stages ?? [];
|
||||
try {
|
||||
projectEnv = JSON.parse(detail.project.env || '{}');
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user