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
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Jul 1, 2024
1 parent e95825a commit 3b1ee40
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 3b1ee40

Please sign in to comment.