Skip to content

Commit

Permalink
hide table next pagination button when table is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ipula authored and ewhanson committed Oct 31, 2024
1 parent b401d4a commit cbff666
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/managers/UserInvitationManager/UserInvitationManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@
</TableRow>
</TableBody>
</PkpTable>
<div class="flex justify-end">
<div
v-if="store.invitationsPagination.itemCount > 0"
class="flex justify-end"
>
<Pagination
:current-page="store.invitationsPagination.currentPage"
:last-page="store.invitationsPagination.pageCount"
Expand Down

0 comments on commit cbff666

Please sign in to comment.