Skip to content

Commit

Permalink
Update src/app/components/home/home.component.ts
Browse files Browse the repository at this point in the history
Co-authored-by: William Pavei Antero <[email protected]>
  • Loading branch information
raffacabofrio and wantero authored Feb 5, 2023
1 parent 22b0e98 commit b63249a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class HomeComponent implements OnInit, OnDestroy {
this.meetups.push(...meetups.items);

const maxPage = Math.ceil(meetups.totalItems / meetups.itemsPerPage);
if (this.meetupsCurrentPage >= maxPage) this.showButtonMoreMeetups = false;
this.showButtonMoreMeetups = this.meetupsCurrentPage < maxPage;
});
}

Expand Down

0 comments on commit b63249a

Please sign in to comment.