@james_jayaraj/test-npm 0.9.2 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @james_jayaraj/test-npm might be problematic. Click here for more details.
|
@@ -2936,7 +2936,7 @@ class RxComponent {
|
|
|
2936
2936
|
rxOnlyPBSFilter() {
|
|
2937
2937
|
try {
|
|
2938
2938
|
if (!this.commonServices.IsNullOrEmpty(this.selectedMedicineListOrginal) && this.selectedMedicineListOrginal.length > 0) {
|
|
2939
|
-
this.commonServices.selectedMedicineList = this.selectedMedicineListOrginal.filter((x) => x.pbsType != 'non PBS');
|
|
2939
|
+
this.commonServices.selectedMedicineList = this.selectedMedicineListOrginal.filter((x) => !this.commonServices.IsNullOrEmpty(x.pbsType) && x.pbsType != 'non PBS');
|
|
2940
2940
|
}
|
|
2941
2941
|
this.changedetect.detectChanges();
|
|
2942
2942
|
}
|
|
@@ -2947,7 +2947,7 @@ class RxComponent {
|
|
|
2947
2947
|
rxOnlyNONPBSFilter() {
|
|
2948
2948
|
try {
|
|
2949
2949
|
if (this.selectedMedicineListOrginal != '' && this.selectedMedicineListOrginal != null && this.selectedMedicineListOrginal.length > 0) {
|
|
2950
|
-
this.commonServices.selectedMedicineList = this.selectedMedicineListOrginal.filter((x) => x.pbsType.toLowerCase() == 'non pbs');
|
|
2950
|
+
this.commonServices.selectedMedicineList = this.selectedMedicineListOrginal.filter((x) => !this.commonServices.IsNullOrEmpty(x.pbsType) && x.pbsType.toLowerCase() == 'non pbs');
|
|
2951
2951
|
}
|
|
2952
2952
|
this.changedetect.detectChanges();
|
|
2953
2953
|
}
|