We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4d1668 + b22d373 commit a8ff2a9Copy full SHA for a8ff2a9
src/helpers/other-helper.ts
@@ -33,12 +33,8 @@ export function removeHiddenTasks(tasks: Task[]) {
33
34
function getChildren(taskList: Task[], task: Task) {
35
let tasks: Task[] = [];
36
- if (task.type !== "project") {
37
- tasks = taskList.filter(
38
- t => t.dependencies && t.dependencies.indexOf(task.id) !== -1
39
- );
40
- } else {
41
- tasks = taskList.filter(t => t.project && t.project === task.id);
+ if (task.type === "project") {
+ tasks = taskList.filter(t => t.project && t.project === task.id);
42
}
43
var taskChildren: Task[] = [];
44
tasks.forEach(t => {
0 commit comments