Keep the pane on the Project tab after Start and hold off the lead
This commit is contained in:
+1
-2
@@ -46,8 +46,7 @@ export function mountProject(root: HTMLElement): () => void {
|
||||
starting.add(key);
|
||||
render();
|
||||
try {
|
||||
const task = await post("/api/projects/{projectId}/todo/tasks", { path: { projectId: project.id }, body: { title: item.title, model: models[0] } });
|
||||
focusTask(task.id);
|
||||
await post("/api/projects/{projectId}/todo/tasks", { path: { projectId: project.id }, body: { title: item.title, model: models[0] } });
|
||||
} catch (err) {
|
||||
void showAlert(errorText(err));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user