Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix(DataTable): disable pagination buttons on loading (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos authored Jul 1, 2024
1 parent e95825a commit 722f428
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/tables/TablePagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function onLast() {
<div :class="css.navigation">
<Button
:size="dense ? 'sm' : undefined"
:disabled="!hasPrev"
:disabled="!hasPrev || loading"
variant="text"
icon
@click="onFirst()"
Expand All @@ -174,7 +174,7 @@ function onLast() {
</Button>
<Button
:size="dense ? 'sm' : undefined"
:disabled="!hasPrev"
:disabled="!hasPrev || loading"
variant="text"
icon
@click="onPrev()"
Expand All @@ -183,7 +183,7 @@ function onLast() {
</Button>
<Button
:size="dense ? 'sm' : undefined"
:disabled="!hasNext"
:disabled="!hasNext || loading"
variant="text"
icon
@click="onNext()"
Expand All @@ -192,7 +192,7 @@ function onLast() {
</Button>
<Button
:size="dense ? 'sm' : undefined"
:disabled="!hasNext"
:disabled="!hasNext || loading"
variant="text"
icon
@click="onLast()"
Expand Down

0 comments on commit 722f428

Please sign in to comment.