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 {
// 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();

Loading…
Cancel
Save