open-nomad/ui/app/templates/components/page-size-select.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
471 B
Handlebars
Raw Normal View History

<div class="field is-horizontal" data-test-page-size-select-parent ...attributes>
<span class="field-label is-small">
Per page
</span>
2020-03-31 04:12:46 +00:00
<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|
>
2020-03-31 04:12:46 +00:00
{{option}}
</PowerSelect>
</div>