implemented opening and closing of projects right from the project list

This commit is contained in:
2025-07-20 14:09:41 +02:00
parent 85ab2dd853
commit 680afd7700
9 changed files with 82 additions and 20 deletions

View File

@@ -26,7 +26,8 @@
body: JSON.stringify(project)
});
if (resp.ok){
router.navigate('/project');
var newProject = await resp.json();
router.navigate(`/project/${newProject.id}/view`);
} else {
error = await resp.text();
}