Skip to content

Commit

Permalink
Always show the scaling events accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
DingoEatingFuzz committed Aug 22, 2020
1 parent 0d6b02b commit f78ac9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions ui/app/templates/jobs/job/task-group.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,16 @@
<ScaleEventsChart @events={{this.sortedScaleEvents}} />
</div>
</div>
{{else}}
<div data-test-scaling-events class="boxed-section">
<div class="boxed-section-head">
Recent Scaling Events
</div>
<div class="boxed-section-body">
<ScaleEventsAccordion @events={{this.sortedScaleEvents}} />
</div>
</div>
{{/if}}

<div data-test-scaling-events class="boxed-section">
<div class="boxed-section-head">
Recent Scaling Events
</div>
<div class="boxed-section-body">
<ScaleEventsAccordion @events={{this.sortedScaleEvents}} />
</div>
</div>
{{/if}}

{{#if this.model.volumes.length}}
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/acceptance/task-group-detail-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ module('Acceptance | task group detail', function(hooks) {
const scaleEvents = taskGroupScale.events.models.sortBy('time').reverse();
await TaskGroup.visit({ id: job.id, name: taskGroup.name });

assert.notOk(TaskGroup.hasScaleEvents);
assert.ok(TaskGroup.hasScaleEvents);
assert.ok(TaskGroup.hasScalingTimeline);

assert.equal(
Expand Down

0 comments on commit f78ac9d

Please sign in to comment.