Skip to content

Commit

Permalink
Burndown data returns full task data
Browse files Browse the repository at this point in the history
  • Loading branch information
basementuniverse committed Apr 19, 2021
1 parent 6bce71f commit bd3a4c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@basementuniverse/kanbn",
"version": "0.3.1",
"version": "0.4.0",
"description": "A CLI Kanban application",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,13 +655,13 @@ module.exports = (() => {
.filter((task) => task.started === date)
.map((task) => ({
eventType: "started",
taskId: task.id,
task
})),
...tasks
.filter((task) => task.completed === date)
.map((task) => ({
eventType: "completed",
taskId: task.id,
task
})),
];
}
Expand Down

0 comments on commit bd3a4c6

Please sign in to comment.