From 03dea1d87bfac8073edf4215da6780827e5208d0 Mon Sep 17 00:00:00 2001 From: Niggl Date: Mon, 8 Jun 2020 14:17:13 +0200 Subject: [PATCH] Added prio to task creation --- src/app/task-form/task-form.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/task-form/task-form.component.ts b/src/app/task-form/task-form.component.ts index 858a647..6f34dae 100644 --- a/src/app/task-form/task-form.component.ts +++ b/src/app/task-form/task-form.component.ts @@ -39,7 +39,7 @@ export class TaskFormComponent implements OnInit { }); } else { - this.task = { title: this.title, content: this.content }; + this.task = { title: this.title, content: this.content, priority: this.prio }; this.backendService.postTask(this.task).subscribe(response => { if (response.status > 399) { alert('Fehler');