diff --git a/src/components/pagination/bl-pagination.ts b/src/components/pagination/bl-pagination.ts index 9d5f73a2..59688c32 100644 --- a/src/components/pagination/bl-pagination.ts +++ b/src/components/pagination/bl-pagination.ts @@ -93,7 +93,7 @@ export default class BlPagination extends LitElement { @event('bl-change') private onChange: EventDispatcher<{ selectedPage: number; prevPage: number }>; updated(changedProperties: PropertyValues) { - if (changedProperties.has('currentPage') || changedProperties.has('itemsPerPage')) { + if (changedProperties.has('currentPage') || changedProperties.has('itemsPerPage') || changedProperties.has('totalItems') ) { this._paginate(); this.onChange({ selectedPage: this.currentPage,