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