@csmart/ngc-smart-victim 1.14.28 → 1.14.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -1911,22 +1911,6 @@ class NgcSmartVictimComponent {
1911
1911
  .getVictimListByFilter(victimListFilter)
1912
1912
  .subscribe((data) => {
1913
1913
  this.victims = data;
1914
- //show phone number on the victim list if any phone number exist.
1915
- // data.forEach((d) => {
1916
- // if (d.homePhone == null || d.homePhone == "") {
1917
- // if (d.cellPhone != null){
1918
- // if (d.cellPhone != ""){
1919
- // d.homePhone = d.cellPhone;
1920
- // }
1921
- // else{
1922
- // d.homePhone = d.workPhone;
1923
- // }
1924
- // }
1925
- // else{
1926
- // d.homePhone = d.workPhone;
1927
- // }
1928
- // }
1929
- // });
1930
1914
  this.victimListDataSource.data = data;
1931
1915
  console.log("victim data at line 245");
1932
1916
  console.log(this.victims);
@@ -1947,22 +1931,6 @@ class NgcSmartVictimComponent {
1947
1931
  .getVictimListByFilter(this.victimListFilter)
1948
1932
  .subscribe((data) => {
1949
1933
  this.victims = data;
1950
- //show phone number on the victim list if any phone number exist.
1951
- // data.forEach((d) => {
1952
- // if (d.homePhone == null || d.homePhone == "") {
1953
- // if (d.cellPhone != null){
1954
- // if (d.cellPhone != ""){
1955
- // d.homePhone = d.cellPhone;
1956
- // }
1957
- // else{
1958
- // d.homePhone = d.workPhone;
1959
- // }
1960
- // }
1961
- // else{
1962
- // d.homePhone = d.workPhone;
1963
- // }
1964
- // }
1965
- // });
1966
1934
  this.victimListDataSource.data = data;
1967
1935
  console.log("victim data at line 279");
1968
1936
  console.log(data);
@@ -2017,22 +1985,6 @@ class NgcSmartVictimComponent {
2017
1985
  this.doSpin = !this.doSpin;
2018
1986
  if (data.length > 0) {
2019
1987
  this.showListFlag = true;
2020
- //show phone number on the victim list if any phone number exist.
2021
- // data.forEach((d) => {
2022
- // if (d.homePhone == null || d.homePhone == "") {
2023
- // if (d.cellPhone != null){
2024
- // if (d.cellPhone != ""){
2025
- // d.homePhone = d.cellPhone;
2026
- // }
2027
- // else{
2028
- // d.homePhone = d.workPhone;
2029
- // }
2030
- // }
2031
- // else{
2032
- // d.homePhone = d.workPhone;
2033
- // }
2034
- // }
2035
- // });
2036
1988
  this.victimListDataSource.data = data;
2037
1989
  }
2038
1990
  else {