Skip to content

Commit

Permalink
ui: small fixes for job client status
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Oct 7, 2021
1 parent 309e599 commit c38c0a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</a.head>
<a.body>
<JobClientStatusBar
@onSliceClick={{this.onSliceClick}}
@onSliceClick={{action this.onSliceClick}}
@job={{this.job}}
@jobClientStatus={{this.jobClientStatus}}
class="split-view" as |chart|
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/components/job-subnav.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{/if}}
<li data-test-tab="allocations"><LinkTo @route="jobs.job.allocations" @query={{hash namespace=this.job.namespace.id}} @model={{@job}} @activeClass="is-active">Allocations</LinkTo></li>
<li data-test-tab="evaluations"><LinkTo @route="jobs.job.evaluations" @query={{hash namespace=this.job.namespace.id}} @model={{@job}} @activeClass="is-active">Evaluations</LinkTo></li>
{{#if this.job.hasClientStatus}}
{{#if (and this.job.hasClientStatus (not this.job.hasChildren))}}
<li data-test-tab="clients"><LinkTo @route="jobs.job.clients" @query={{hash namespace=this.job.namespace.id}} @model={{@job}} @activeClass="is-active">Clients</LinkTo></li>
{{/if}}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/jobs/job/clients.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
No Clients
</h3>
<p class="empty-message-body">
No clients have been placed.
No clients available.
</p>
</div>
</div>
Expand Down

0 comments on commit c38c0a5

Please sign in to comment.