implemented opening and closing of projects right from the project list
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user