From 5f6def2240e43703edeab050bab0d30cdcff0cf7 Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Fri, 12 Apr 2019 16:53:50 +0200 Subject: [PATCH] Update for run.tasks.depends change from array to map --- src/components/run.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/run.vue b/src/components/run.vue index b67855a..7ad4a78 100644 --- a/src/components/run.vue +++ b/src/components/run.vue @@ -87,8 +87,8 @@ export default { } }, parents(task) { - return task.depends.map(d => { - return this.run.tasks[d.task_id].name; + return Object.keys(task.depends).map(key => { + return this.run.tasks[task.depends[key].task_id].name; }); }, taskClass(task) {