@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.
@@ -1092,12 +1092,12 @@ 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!', '', {
1095
+ this.snackBar.open('Delete Successfully! Please refresh this page.', '', {
1096
1096
  duration: 3000,
1097
1097
  });
1098
1098
  });
1099
- // this.router.navigate(['victim']);
1100
1099
  this.onSave.emit(this.victimDetail);
1100
+ this.router.navigate(['victim']);
1101
1101
  }
1102
1102
  });
1103
1103
  }