Project

General

Profile

« Previous | Next » 

Revision 51870

fixed pagination in tables

View differences:

content-notifications-of-subscription.component.ts
58 58
    }*/
59 59

  
60 60
    /* DELETE WHEN getNotificationsBySubscriptionId IS FIXED AND SENDS CORRECT VALUE FOR CURRENT PAGE */
61
    if(this.currentPage < this.eventsPage.totalPages) {
61
    if( (this.currentPage+1) < this.eventsPage.totalPages) {
62 62
      this.currentPage = this.currentPage+1;
63 63
      console.log(`Get me page ${this.currentPage}!`);
64 64
      this.getEventsPage(this.currentPage);

Also available in: Unified diff