Merge branch 'dmp-refactoring' of https://code-repo.d4science.org/MaDgiK-CITE/argos into dmp-refactoring
This commit is contained in:
commit
555261dadf
|
@ -246,6 +246,7 @@ export class DescriptionTemplateEditorComponent extends BaseEditor<DescriptionTe
|
||||||
this.formSubmit((data) => {
|
this.formSubmit((data) => {
|
||||||
this.uiNotificationService.snackBarNotification(this.isNew ? this.language.instant('GENERAL.SNACK-BAR.SUCCESSFUL-CREATION') : this.language.instant('GENERAL.SNACK-BAR.SUCCESSFUL-UPDATE'), SnackBarNotificationLevel.Success);
|
this.uiNotificationService.snackBarNotification(this.isNew ? this.language.instant('GENERAL.SNACK-BAR.SUCCESSFUL-CREATION') : this.language.instant('GENERAL.SNACK-BAR.SUCCESSFUL-UPDATE'), SnackBarNotificationLevel.Success);
|
||||||
if(close){
|
if(close){
|
||||||
|
this.formGroup = null;
|
||||||
this.router.navigate(['/description-templates']);
|
this.router.navigate(['/description-templates']);
|
||||||
} else {
|
} else {
|
||||||
this.refreshOnNavigateToData(data ? data.id : null);
|
this.refreshOnNavigateToData(data ? data.id : null);
|
||||||
|
|
Loading…
Reference in New Issue