diff --git a/lib/view/taskPlaning/daily_progress.dart b/lib/view/taskPlaning/daily_progress.dart index ba5cc4f..0c394d4 100644 --- a/lib/view/taskPlaning/daily_progress.dart +++ b/lib/view/taskPlaning/daily_progress.dart @@ -157,11 +157,7 @@ class _DailyProgressReportScreenState extends State if (selectedProjectId != null && selectedProjectId != dailyTaskController.selectedProjectId) { dailyTaskController.selectedProjectId = selectedProjectId; - try { - await dailyTaskController.fetchProjects(); - } catch (e) { - debugPrint('Error fetching projects: $e'); - } + await dailyTaskController.fetchTaskData(selectedProjectId); dailyTaskController.update(['daily_progress_report_controller']); } }