diff --git a/src/main/app/src/app/informatie-objecten/informatie-object-create-attended/informatie-object-create-attended.component.ts b/src/main/app/src/app/informatie-objecten/informatie-object-create-attended/informatie-object-create-attended.component.ts index 5b99c94687..cc12f94a0b 100644 --- a/src/main/app/src/app/informatie-objecten/informatie-object-create-attended/informatie-object-create-attended.component.ts +++ b/src/main/app/src/app/informatie-objecten/informatie-object-create-attended/informatie-object-create-attended.component.ts @@ -240,7 +240,6 @@ export class InformatieObjectCreateAttendedComponent window.open(documentCreatieResponse.redirectURL); this.sideNav.close(); this.document.emit(documentCreateData); - this.form.reset(); this.sideNav.close(); } else { this.dialog.open(NotificationDialogComponent, { diff --git a/src/main/app/src/app/informatie-objecten/informatie-object-verzenden/informatie-object-verzenden.component.ts b/src/main/app/src/app/informatie-objecten/informatie-object-verzenden/informatie-object-verzenden.component.ts index aa9c2f86ad..c2104c2e2e 100644 --- a/src/main/app/src/app/informatie-objecten/informatie-object-verzenden/informatie-object-verzenden.component.ts +++ b/src/main/app/src/app/informatie-objecten/informatie-object-verzenden/informatie-object-verzenden.component.ts @@ -38,7 +38,7 @@ import { DocumentVerzendGegevens } from "../model/document-verzend-gegevens"; export class InformatieObjectVerzendenComponent implements OnInit, OnChanges { @Input() zaak: Zaak; @Input() sideNav: MatDrawer; - @Output() documentVerzonden = new EventEmitter(); + @Output() documentSent = new EventEmitter(); @ViewChild(FormComponent) form: FormComponent; @@ -110,7 +110,7 @@ export class InformatieObjectVerzendenComponent implements OnInit, OnChanges { ? "msg.documenten.verzenden.uitgevoerd" : "msg.document.verzenden.uitgevoerd", ); - this.documentVerzonden.emit(); + this.documentSent.emit(); this.sideNav.close(); }); } else { diff --git a/src/main/app/src/app/zaken/zaak-view/zaak-view.component.html b/src/main/app/src/app/zaken/zaak-view/zaak-view.component.html index a5797c4e2d..c1b2327c74 100644 --- a/src/main/app/src/app/zaken/zaak-view/zaak-view.component.html +++ b/src/main/app/src/app/zaken/zaak-view/zaak-view.component.html @@ -58,7 +58,7 @@ *ngSwitchCase="sideNavAction.DOCUMENT_MAKEN" [sideNav]="actionsSidenav" [zaak]="zaak" - (document)="documentToegevoegd()" + (document)="documentCreated()" >