@csmart/ngc-smart-victim 1.14.1 → 1.14.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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");