Skip to content

Commit

Permalink
gh-733 Fix task summary loading
Browse files Browse the repository at this point in the history
  • Loading branch information
oodamien authored and ghillert committed Apr 18, 2018
1 parent ae29348 commit 4a58a52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<app-task-status [taskDefinition]="task.taskDefinition"></app-task-status>
</div>
</div>
<div class="row task-summary-row">
<div class="row task-summary-row" *ngIf="task.apps.length > 0">
<div class="col-md-3">
<strong>Applications:</strong>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,7 @@ export class TaskSummaryComponent implements OnInit {
val => Observable.of(Parser.parse(val.dslText as string, 'task')),
(val1: TaskDefinition, val2: any) => ({
taskDefinition: val1,
apps: val2.lines[0].nodes
.map((node) => (
{
origin: node['name'],
name: node['label'] || node['name'],
type: node.type.toString()
}
))
apps: []
})
));
}
Expand Down

0 comments on commit 4a58a52

Please sign in to comment.