@csmart/ngc-smart-victim 1.14.1 → 1.14.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1690,6 +1690,7 @@ class SmartVictimDetailComponent {
1690
1690
  });
1691
1691
  }
1692
1692
  } //end of this.phoneValidationFlag = false
1693
+ console.log('11/7/23');
1693
1694
  console.log('this.victimDetail');
1694
1695
  console.log(this.victimDetail);
1695
1696
  this.onSave.emit(this.victimDetail);
@@ -1906,14 +1907,16 @@ class NgcSmartVictimComponent {
1906
1907
  .subscribe((data) => {
1907
1908
  this.victimListDataSource.data = data;
1908
1909
  this.victims = data;
1909
- data.forEach((d) => {
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;
1915
- }
1916
- });
1910
+ // data.forEach((d) => {
1911
+ // if (d.homePhone == null || d.homePhone == "") {
1912
+ // if (d.cellPhone != null && d.cellPhone != ""){
1913
+ // d.homePhone = d.cellPhone;
1914
+ // }
1915
+ // else{
1916
+ // d.homePhone = d.workPhone;
1917
+ // }
1918
+ // }
1919
+ // });
1917
1920
  console.log("victim data at line 179");
1918
1921
  console.log(this.victims);
1919
1922
  console.log("showListFlag");