-
-
- ${selectOptions.map(option => {
- return html`${option.text} ${this.optionText}`;
- })}
-
-
- ` : null;
+ const selectEl = this.hasSelect
+ ? html`
+
+
+
+ ${this.itemsPerPageOptions.map(option => {
+ return html`${option.text}`;
+ })}
+
+
+ `
+ : null;
const jumperEl = this.hasJumper
? html`
@@ -225,9 +245,7 @@ export default class BlPagination extends LitElement {
const getHelperElements = () => {
if (!this.hasSelect && !this.hasJumper) return;
- return html`
-
- `;
+ return html` `;
};
return html` `;