minor changes
This commit is contained in:
@@ -7,8 +7,11 @@ import {
|
||||
ScrumStatus,
|
||||
ScrumCategory,
|
||||
ScrumUser,
|
||||
ScrumProject
|
||||
ScrumProject,
|
||||
ScrumUserstory
|
||||
} from '../services/backend.service';
|
||||
import { Observable } from 'rxjs';
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
|
||||
@Component({
|
||||
selector: 'app-task-form',
|
||||
@@ -29,6 +32,8 @@ export class TaskFormComponent implements OnInit {
|
||||
this.editing = true;
|
||||
}
|
||||
document.getElementById('titleField').focus();
|
||||
|
||||
this.getRelatedStory();
|
||||
}
|
||||
|
||||
onSubmit() {
|
||||
@@ -51,4 +56,11 @@ export class TaskFormComponent implements OnInit {
|
||||
onClose() {
|
||||
this.activeModalService.dismiss(this.task);
|
||||
}
|
||||
|
||||
getRelatedStory(): any{
|
||||
|
||||
console.log(this.backendService.getUserstory(1));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user