Ion-slides pager used pagination from other page

As an example :
i have ion-slides with pager element on page 1 with two slides
and second page with ion-slides pager and ten slides.

when a return to prev page i see 10 bullets on slider

i’ve fixed with this :

this.sliderOptions = {
autoplay: 3000,
onInit: (slides: any) => this.slider = slides

                    };

and

onPageWillEnter() {
if (this.slider) {
this.slider.updatePagination();
}
}

I was having the same issue. I finally turned off pager all together as the documentation for ion-slides is sparse at best. I will have to try your solutuon. Thanks for sharing!!