diff --git a/lib/features/my_appointments/my_appointments_view_model.dart b/lib/features/my_appointments/my_appointments_view_model.dart index bde7bfa..ce303de 100644 --- a/lib/features/my_appointments/my_appointments_view_model.dart +++ b/lib/features/my_appointments/my_appointments_view_model.dart @@ -375,10 +375,10 @@ class MyAppointmentsViewModel extends ChangeNotifier { } Future getRegionMappedProjectList() async { - // if(hospitalList != null && hospitalList!.registeredDoctorMap != null && hospitalList!.registeredDoctorMap!.isNotEmpty){ - // filteredHospitalList = hospitalList; - // return; - // } + if(hospitalList != null && hospitalList!.registeredDoctorMap != null && hospitalList!.registeredDoctorMap!.isNotEmpty){ + filteredHospitalList = hospitalList; + return; + } isRegionListLoading = true; notifyListeners(); final result = await myAppointmentsRepo.getProjectList();