Added prio to task creation
This commit is contained in:
parent
e81cb51f05
commit
03dea1d87b
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user