open-nomad/ui/app/templates/components/job-deployments-stream.hbs
Buck Doyle 244157786a
Add explicit this to templates (#8388)
This is the result of running the no-implicit-this-codemod, some manual fixes,
and the addition of a linting rule to prevent future ambiguity.
2020-07-09 15:19:07 -05:00

15 lines
464 B
Handlebars

{{#each this.annotatedDeployments key="deployment.id" as |record|}}
{{#if record.meta.showDate}}
<li data-test-deployment-time class="timeline-note">
{{#if record.deployment.version.submitTime}}
{{format-date record.deployment.version.submitTime}}
{{else}}
Unknown time
{{/if}}
</li>
{{/if}}
<li data-test-deployment class="timeline-object">
<JobDeployment @deployment={{record.deployment}} />
</li>
{{/each}}