Skip to content
Snippets Groups Projects
Commit 836de838 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Merge branch 'TMSS-1004' into 'master'

Resolve TMSS-1004

Closes TMSS-1004

See merge request !630
parents 43e41354 5eb7b4c2
No related branches found
No related tags found
2 merge requests!634WIP: COBALT commissioning delta,!630Resolve TMSS-1004
......@@ -82,12 +82,8 @@ export class FindObjectResult extends Component{
<span className="find-obj-tree-view"> <a href={subtaskDetails.url} target='_blank'
title=" View SubTask API"><i className="fa fa-link" /></a></span></>;
subtask['icon'] = 'fas fa-tasks';
let tasks = [];
for (const taskId of subtaskDetails.task_blueprints_ids) {
let taskMap = await this.findTask('blueprint', taskId);
tasks.push(taskMap[0]);
}
subtask['children'] = tasks;
let task = await this.findTask('blueprint', subtaskDetails.task_blueprint_id);
subtask['children'] = task;
return [subtask];
}
return '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment