@csmart/ngc-smart-victim 1.14.36 → 1.14.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -1088,12 +1088,12 @@ class SmartVictimDetailComponent {
1088
1088
  if (this.result) {
1089
1089
  this.victimService.deleteVictims(this.victimDetail.victimId, this.staffId)
1090
1090
  .subscribe(result => {
1091
- this.snackBar.open('Delete Successfully!', '', {
1091
+ this.snackBar.open('Delete Successfully! Please refresh this page.', '', {
1092
1092
  duration: 3000,
1093
1093
  });
1094
1094
  });
1095
- // this.router.navigate(['victim']);
1096
1095
  this.onSave.emit(this.victimDetail);
1096
+ this.router.navigate(['victim']);
1097
1097
  }
1098
1098
  });
1099
1099
  }