@csmart/ngc-smart-victim 1.14.1 → 1.14.2

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.
@@ -1908,10 +1908,12 @@ class NgcSmartVictimComponent {
1908
1908
  this.victims = data;
1909
1909
  data.forEach((d) => {
1910
1910
  if (d.homePhone == null || d.homePhone == "") {
1911
- d.homePhone = d.cellPhone;
1912
- }
1913
- if (d.homePhone == null || d.homePhone == "") {
1914
- d.homePhone = d.workPhone;
1911
+ if (d.cellPhone != null && d.cellPhone != "") {
1912
+ d.homePhone = d.cellPhone;
1913
+ }
1914
+ else {
1915
+ d.homePhone = d.workPhone;
1916
+ }
1915
1917
  }
1916
1918
  });
1917
1919
  console.log("victim data at line 179");