fix(projects): rediriger vers le projet après édition
This commit is contained in:
parent
761f6f42a5
commit
54fdfc7053
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export default function ProjectForm() {
|
|||
if (isEditing && projectId) {
|
||||
await updateProject(projectId, name, baseBranch);
|
||||
window.dispatchEvent(new Event("orchai:refresh-projects"));
|
||||
navigate("/");
|
||||
navigate(`/projects/${projectId}`);
|
||||
} else {
|
||||
const project = await createProject(name, pathOrUrl, baseBranch);
|
||||
window.dispatchEvent(new Event("orchai:refresh-projects"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue