Update for run.tasks.depends change from array to map

This commit is contained in:
Simone Gotti 2019-04-12 16:53:50 +02:00
parent b4cd9806b0
commit 5f6def2240
1 changed files with 2 additions and 2 deletions

View File

@ -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) {