@csmart/ngc-smart-victim 1.14.3 → 1.14.5
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 +4 -1
- package/fesm2015/csmart-ngc-smart-victim.mjs +3 -0
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +3 -0
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/package.json +1 -1
@@ -965,6 +965,7 @@ class SmartVictimDetailComponent {
|
|
965
965
|
this.victimForm.reset();
|
966
966
|
}
|
967
967
|
ngOnInit() {
|
968
|
+
console.log('on init 11/7/23');
|
968
969
|
console.log('show offenderId');
|
969
970
|
console.log(this.offenderId);
|
970
971
|
console.log('show staffId');
|
@@ -1222,6 +1223,7 @@ class SmartVictimDetailComponent {
|
|
1222
1223
|
}
|
1223
1224
|
//#region "save victim"
|
1224
1225
|
saveVictim() {
|
1226
|
+
console.log('save vitem 11/7/23');
|
1225
1227
|
//guardian phone logic
|
1226
1228
|
if (!this.victimForm.value.guardianNoPhoneFlag) {
|
1227
1229
|
if (this.victimForm.value.guardianHomePhone) {
|
@@ -1635,6 +1637,7 @@ class SmartVictimDetailComponent {
|
|
1635
1637
|
victimWeaponUse.modifiedBy = this.staffId;
|
1636
1638
|
this.victimDetail.victimWeaponUses.push(victimWeaponUse);
|
1637
1639
|
});
|
1640
|
+
console.log('package has been updated');
|
1638
1641
|
console.log('this.victimDetail before emit');
|
1639
1642
|
console.log(this.victimDetail);
|
1640
1643
|
this.victimService.putVictims(this.victimDetail.victimId, this.victimDetail).subscribe((items) => {
|