Skip to content

Commit

Permalink
Job row should denote when a parent job has no children
Browse files Browse the repository at this point in the history
  • Loading branch information
DingoEatingFuzz committed Mar 20, 2018
1 parent b4fe032 commit 8be0c5a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/app/templates/components/job-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
<td data-test-job-allocations>
<div class="inline-chart">
{{#if job.hasChildren}}
{{children-status-bar job=job isNarrow=true}}
{{#if (gt job.totalChildren 0)}}
{{children-status-bar job=job isNarrow=true}}
{{else}}
<em class="is-faded">No Children</em>
{{/if}}
{{else}}
{{allocation-status-bar allocationContainer=job isNarrow=true}}
{{/if}}
Expand Down

0 comments on commit 8be0c5a

Please sign in to comment.