add status logic for adding

This commit is contained in:
Michael 2020-06-30 14:32:41 +02:00
parent 89429b49b3
commit d8fc2766a9
2 changed files with 6 additions and 8 deletions

View File

@ -17,9 +17,11 @@
name="prio"
[(ngModel)]="task.priority"
>
<option *ngFor="let userstory of userstories" value="low">{{
userstory.title
}}</option>
<option
*ngFor="let userstory of userstories"
[value]="userstory.title"
>{{ userstory.title }}</option
>
</select>
</table>
<button (click)="onClose()" type="button" class="close" aria-label="Close">
@ -87,7 +89,7 @@
name="prio"
[(ngModel)]="task.statusid"
>
<option *ngFor="let status of allStatus">{{
<option *ngFor="let status of allStatus" [value]="status.title">{{
status.title
}}</option>
</select>

View File

@ -103,8 +103,4 @@ export class TaskFormComponent implements OnInit {
}
});
}
// addNewStatus() {
// this.allStatus;
// }
}