@csmart/ngc-smart-victim 1.14.41 → 1.14.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -1092,15 +1092,15 @@ class SmartVictimDetailComponent {
1092
1092
  if (this.result) {
1093
1093
  this.victimService.deleteVictims(this.victimDetail.victimId, this.staffId)
1094
1094
  .subscribe(result => {
1095
- this.snackBar.open('Delete Successfully! Please refresh this page.', '', {
1095
+ this.snackBar.open('Delete Successfully!', '', {
1096
1096
  duration: 3000,
1097
1097
  });
1098
1098
  });
1099
- this.onSave.emit(this.victimDetail);
1099
+ // this.onSave.emit(this.victimDetail);
1100
1100
  // this.router.navigate(['victim']);
1101
1101
  setTimeout(() => {
1102
1102
  window.location.reload();
1103
- }, 7500);
1103
+ }, 1500);
1104
1104
  }
1105
1105
  });
1106
1106
  }