fix DA-152

merge-requests/260/head
Elham Rababah 5 years ago
parent 855ed0ac12
commit e9de8a72e9

@ -253,7 +253,7 @@ class SOAPViewModel extends BaseViewModel {
masterKeys: MasterKeysService.Allergies, masterKeys: MasterKeysService.Allergies,
id: element.allergyDiseaseId, id: element.allergyDiseaseId,
typeId: element.allergyDiseaseType); typeId: element.allergyDiseaseType);
if(selectedAllergy != null) if(selectedAllergy != null && element.isChecked)
allergiesString += allergiesString +=
(isArabic ? selectedAllergy.nameAr : selectedAllergy.nameEn )+ ' , '; (isArabic ? selectedAllergy.nameAr : selectedAllergy.nameEn )+ ' , ';
}); });

Loading…
Cancel
Save