added userstory dropdown
This commit is contained in:
@@ -22,9 +22,11 @@ export class TaskFormComponent implements OnInit {
|
||||
@Input() public task: ScrumTask;
|
||||
public editing: Boolean;
|
||||
public userstoryId: string;
|
||||
public userstories: any[];
|
||||
public userstories: any[] = [];
|
||||
|
||||
constructor(private backendService: BackendService, private activeModalService: NgbActiveModal) {}
|
||||
constructor(private backendService: BackendService, private activeModalService: NgbActiveModal) {
|
||||
this.getUserStories();
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
if (this.task === null || this.task === undefined) {
|
||||
@@ -35,7 +37,6 @@ export class TaskFormComponent implements OnInit {
|
||||
}
|
||||
document.getElementById('titleField').focus();
|
||||
this.getRelatedStory();
|
||||
this.getUserStories();
|
||||
}
|
||||
|
||||
onSubmit() {
|
||||
|
||||
Reference in New Issue
Block a user