diff options
author | crupest <crupest@outlook.com> | 2019-02-18 19:26:12 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-02-18 19:26:12 +0800 |
commit | 9756acc50f5f228968cf45d9e73c8dd3b4eacc6a (patch) | |
tree | a1f98d59aa922e887ae90725b08f2b852eff93a8 /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts | |
parent | 633e7357b41b5b3e99df887215bed620034eda6a (diff) | |
download | timeline-9756acc50f5f228968cf45d9e73c8dd3b4eacc6a.tar.gz timeline-9756acc50f5f228968cf45d9e73c8dd3b4eacc6a.tar.bz2 timeline-9756acc50f5f228968cf45d9e73c8dd3b4eacc6a.zip |
Beautify the todo page.
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 | 4 |
1 files changed, 2 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 6037e1ea..722ecbdc 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 @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { TodoListService } from '../todo-list.service'; +import { TodoListService, WorkItem } from '../todo-list.service'; @Component({ selector: 'app-todo-list-page', @@ -8,7 +8,7 @@ import { TodoListService } from '../todo-list.service'; }) export class TodoListPageComponent implements OnInit { - items: string[]; + items: WorkItem[]; constructor(private todoService: TodoListService) { todoService.getWorkItemList().subscribe(result => this.items = result); |