diff --git a/.changelog/19505.txt b/.changelog/19505.txt new file mode 100644 index 000000000..78b953687 --- /dev/null +++ b/.changelog/19505.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix rendering of allocations table for jobs that don't have actions +``` diff --git a/ui/app/templates/components/allocation-row.hbs b/ui/app/templates/components/allocation-row.hbs index a1d62ebd8..de925249d 100644 --- a/ui/app/templates/components/allocation-row.hbs +++ b/ui/app/templates/components/allocation-row.hbs @@ -137,4 +137,6 @@ @error={{this.statsError}} /> - +{{#if this.model.job.actions.length}} + +{{/if}} diff --git a/ui/app/templates/components/job-deployment/deployment-allocations.hbs b/ui/app/templates/components/job-deployment/deployment-allocations.hbs index 88f1396b9..f21617264 100644 --- a/ui/app/templates/components/job-deployment/deployment-allocations.hbs +++ b/ui/app/templates/components/job-deployment/deployment-allocations.hbs @@ -7,7 +7,7 @@
Allocations
-
+
{{#if @deployment.allocations.length}}