Skip to content
Snippets Groups Projects
Commit d9ba413b authored by OZGCloud's avatar OZGCloud
Browse files

1062 fix postfach service

parent 94dc1cb5
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ export class NewPostfachMessageFormComponent {
private formService: NewPostfachMessageFormservice
) {
this.patchEmail();
this.setVorgangInFormservice();
}
get form(): FormGroup {
......@@ -34,7 +35,10 @@ export class NewPostfachMessageFormComponent {
}
submit() {
this.formService.submit()
console.log(this.formService.form)
this.formService.submit();
}
private setVorgangInFormservice(): void {
this.formService.setVorgang(this.injectedVorgang.vorgang);
}
}
......@@ -40,7 +40,6 @@ export class NewPostfachMessageFormservice extends AbstractFormService {
}
protected doSubmit(): Observable<StateResource<CommandResource>> {
console.log(this.getFormValue());
return this.postfachMessageService.sendMessage(this.vorgang, this.getFormValue());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment