description template save with close small fix
This commit is contained in:
parent
f2cf61938d
commit
a8500ebf69
|
@ -246,6 +246,7 @@ export class DescriptionTemplateEditorComponent extends BaseEditor<DescriptionTe
|
|||
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);
|
||||
if(close){
|
||||
this.formGroup = null;
|
||||
this.router.navigate(['/description-templates']);
|
||||
} else {
|
||||
this.refreshOnNavigateToData(data ? data.id : null);
|
||||
|
|
Loading…
Reference in New Issue