diff --git a/frontend/src/pages/project-tasks.tsx b/frontend/src/pages/project-tasks.tsx index 3b082417..df6a62be 100644 --- a/frontend/src/pages/project-tasks.tsx +++ b/frontend/src/pages/project-tasks.tsx @@ -228,7 +228,12 @@ export function ProjectTasks() { ); if (response.ok) { - await fetchTasks(); + const result: ApiResponse = await response.json(); + if (result.success && result.data) { + await fetchTasks(); + // Open the newly created task in the details panel + handleViewTaskDetails(result.data); + } } else { setError('Failed to create and start task'); }