@csmart/ngc-smart-victim 1.14.2 → 1.14.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.
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +3 -1
- package/esm2020/lib/smart-victim.component.mjs +11 -11
- package/fesm2015/csmart-ngc-smart-victim.mjs +12 -10
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +12 -10
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/package.json +1 -1
@@ -1631,6 +1631,7 @@ class SmartVictimDetailComponent {
|
|
1631
1631
|
victimWeaponUse.modifiedBy = this.staffId;
|
1632
1632
|
this.victimDetail.victimWeaponUses.push(victimWeaponUse);
|
1633
1633
|
});
|
1634
|
+
console.log('package has been updated');
|
1634
1635
|
console.log('this.victimDetail before emit');
|
1635
1636
|
console.log(this.victimDetail);
|
1636
1637
|
this.victimService.putVictims(this.victimDetail.victimId, this.victimDetail).subscribe((items) => {
|
@@ -1690,6 +1691,7 @@ class SmartVictimDetailComponent {
|
|
1690
1691
|
});
|
1691
1692
|
}
|
1692
1693
|
} //end of this.phoneValidationFlag = false
|
1694
|
+
console.log('11/7/23');
|
1693
1695
|
console.log('this.victimDetail');
|
1694
1696
|
console.log(this.victimDetail);
|
1695
1697
|
this.onSave.emit(this.victimDetail);
|
@@ -1906,16 +1908,16 @@ class NgcSmartVictimComponent {
|
|
1906
1908
|
.subscribe((data) => {
|
1907
1909
|
this.victimListDataSource.data = data;
|
1908
1910
|
this.victims = data;
|
1909
|
-
data.forEach((d) => {
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
});
|
1911
|
+
// data.forEach((d) => {
|
1912
|
+
// if (d.homePhone == null || d.homePhone == "") {
|
1913
|
+
// if (d.cellPhone != null && d.cellPhone != ""){
|
1914
|
+
// d.homePhone = d.cellPhone;
|
1915
|
+
// }
|
1916
|
+
// else{
|
1917
|
+
// d.homePhone = d.workPhone;
|
1918
|
+
// }
|
1919
|
+
// }
|
1920
|
+
// });
|
1919
1921
|
console.log("victim data at line 179");
|
1920
1922
|
console.log(this.victims);
|
1921
1923
|
console.log("showListFlag");
|