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

Merge branch 'master' of git.ozg-sh.de:mgm/goofy

parents e55bc42e d9ba413b
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ export class NewPostfachMessageFormComponent { ...@@ -18,6 +18,7 @@ export class NewPostfachMessageFormComponent {
private formService: NewPostfachMessageFormservice private formService: NewPostfachMessageFormservice
) { ) {
this.patchEmail(); this.patchEmail();
this.setVorgangInFormservice();
} }
get form(): FormGroup { get form(): FormGroup {
...@@ -34,7 +35,10 @@ export class NewPostfachMessageFormComponent { ...@@ -34,7 +35,10 @@ export class NewPostfachMessageFormComponent {
} }
submit() { submit() {
this.formService.submit() this.formService.submit();
console.log(this.formService.form) }
private setVorgangInFormservice(): void {
this.formService.setVorgang(this.injectedVorgang.vorgang);
} }
} }
...@@ -40,7 +40,6 @@ export class NewPostfachMessageFormservice extends AbstractFormService { ...@@ -40,7 +40,6 @@ export class NewPostfachMessageFormservice extends AbstractFormService {
} }
protected doSubmit(): Observable<StateResource<CommandResource>> { protected doSubmit(): Observable<StateResource<CommandResource>> {
console.log(this.getFormValue());
return this.postfachMessageService.sendMessage(this.vorgang, 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