Update for run.tasks.depends change from array to map
This commit is contained in:
parent
b4cd9806b0
commit
5f6def2240
|
@ -87,8 +87,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
parents(task) {
|
parents(task) {
|
||||||
return task.depends.map(d => {
|
return Object.keys(task.depends).map(key => {
|
||||||
return this.run.tasks[d.task_id].name;
|
return this.run.tasks[task.depends[key].task_id].name;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
taskClass(task) {
|
taskClass(task) {
|
||||||
|
|
Loading…
Reference in New Issue