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 | 25e606b67506b3bc0242414aebe472f13a02bd9c (patch) | |
tree | b26ed67c18a5dd4a36452e2e536b48524eae0e54 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts | |
parent | 9ae2a899eb53b8ee31710a5533cdf21b0f14dafd (diff) | |
parent | 00814dccd8f26a6dd9cc9163fad05afafb1ae4e6 (diff) | |
download | timeline-25e606b67506b3bc0242414aebe472f13a02bd9c.tar.gz timeline-25e606b67506b3bc0242414aebe472f13a02bd9c.tar.bz2 timeline-25e606b67506b3bc0242414aebe472f13a02bd9c.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); } - } |