Skip to content

Commit

Permalink
feat: WTL 가져오기 메서드 구현 resolve #72
Browse files Browse the repository at this point in the history
  • Loading branch information
daeseong9388 committed Nov 24, 2022
1 parent fc1de92 commit 50a6a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/core/todo/todoList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class TodoList {
}

getWTL(): Todo[] {
return [];
return this.todoList.filter((el) => el.state === 'WAIT').map((el) => el.clone());
}

getDTL(): Todo[] {
Expand Down

0 comments on commit 50a6a70

Please sign in to comment.