open-nomad/ui/app/templates/components/page-size-select.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

16 lines
425 B
Handlebars

<div class="field is-horizontal">
<span class="field-label is-small">Per page</span>
<PowerSelect
@tagName="div"
class="field-body"
data-test-page-size-select
@options={{this.pageSizeOptions}}
@selected={{this.userSettings.pageSize}}
@onChange={{action (queue
(action (mut this.userSettings.pageSize))
(action this.onChange)
)}} as |option|>
{{option}}
</PowerSelect>
</div>