aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-18 19:26:12 +0800
committercrupest <crupest@outlook.com>2019-02-18 19:26:12 +0800
commita8d850e05fba39a46f54d3c2827e8b93bcbb129b (patch)
tree1dc17f612e5a1cdbd5cec6bdf38ec231934d119d /Timeline/ClientApp/src/app/todo-list-page/todo-list-page.component.ts
parent5194cfc3fc9bbe6d2e03fdceb4ed58a8b7c0f6a9 (diff)
downloadtimeline-a8d850e05fba39a46f54d3c2827e8b93bcbb129b.tar.gz
timeline-a8d850e05fba39a46f54d3c2827e8b93bcbb129b.tar.bz2
timeline-a8d850e05fba39a46f54d3c2827e8b93bcbb129b.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.ts4
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);