retaining the old data.

pull/38/head
taha.alam 1 month ago
parent 788887a7f1
commit ea2d2bf40f

@ -375,10 +375,10 @@ class MyAppointmentsViewModel extends ChangeNotifier {
} }
Future<void> getRegionMappedProjectList() async { Future<void> getRegionMappedProjectList() async {
// if(hospitalList != null && hospitalList!.registeredDoctorMap != null && hospitalList!.registeredDoctorMap!.isNotEmpty){ if(hospitalList != null && hospitalList!.registeredDoctorMap != null && hospitalList!.registeredDoctorMap!.isNotEmpty){
// filteredHospitalList = hospitalList; filteredHospitalList = hospitalList;
// return; return;
// } }
isRegionListLoading = true; isRegionListLoading = true;
notifyListeners(); notifyListeners();
final result = await myAppointmentsRepo.getProjectList(); final result = await myAppointmentsRepo.getProjectList();

Loading…
Cancel
Save