diff options
author | 杨宇千 <crupest@outlook.com> | 2019-02-22 13:37:03 +0000 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-02-22 13:37:03 +0000 |
commit | 4178d790e3afa5c556751d37453d1d62b16e80be (patch) | |
tree | 4980a15f9470b9672922af4bab3de4bb9e92e65b /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts | |
parent | 5452ada657b7a3a4b2a91563a5ff03dcb798c684 (diff) | |
parent | 4e16aeba21313b527eef904501b7a69a72372791 (diff) | |
download | timeline-4178d790e3afa5c556751d37453d1d62b16e80be.tar.gz timeline-4178d790e3afa5c556751d37453d1d62b16e80be.tar.bz2 timeline-4178d790e3afa5c556751d37453d1d62b16e80be.zip |
Merged PR 4: Some minor efforts.
Related work items: #1
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts index 8af1f5ef..06f49923 100644 --- a/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts +++ b/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts @@ -11,10 +11,9 @@ export class TodoListPageComponent implements OnInit { items: WorkItem[]; constructor(private todoService: TodoListService) { - todoService.getWorkItemList().subscribe(result => this.items = result); } ngOnInit() { + this.todoService.getWorkItemList().subscribe(result => this.items = result); } - } |