Skip to content

Commit

Permalink
backport of commit dfce76e (#19511)
Browse files Browse the repository at this point in the history
Co-authored-by: Luiz Aoqui <[email protected]>
  • Loading branch information
hc-github-team-nomad-core and lgfa29 authored Dec 18, 2023
1 parent c6c0ba8 commit 47489d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/19505.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix rendering of allocations table for jobs that don't have actions
```
4 changes: 3 additions & 1 deletion ui/app/templates/components/allocation-row.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,6 @@
@error={{this.statsError}}
/>
</td>
<td class="job-actions-cell" />
{{#if this.model.job.actions.length}}
<td class="job-actions-cell" />
{{/if}}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="boxed-section-head">
Allocations
</div>
<div class="boxed-section-body {{if this.job.allocations.length "is-full-bleed"}}">
<div class="boxed-section-body {{if @deployment.allocations.length "is-full-bleed"}}">
{{#if @deployment.allocations.length}}
<ListTable @source={{@deployment.allocations}} @class="allocations" as |t|>
<t.head>
Expand Down

0 comments on commit 47489d8

Please sign in to comment.