Skip to content

Commit

Permalink
fix: reset pagination on search
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardovanlaarhoven committed Jun 15, 2021
1 parent 80e6df3 commit b101ce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kingscode/vuetify-resource",
"version": "2.2.6",
"version": "2.2.7",
"description": "An easy way to create a resource list with the vuetify data table with default create update and delete dialogs/actions and potential your own actions",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/VuetifyResource.vue
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ export default {
handler() {
clearTimeout(this.searchTimeout);
this.searchTimeout = setTimeout(() => {
this.pagination.page = 1
this.getDataHandler();
}, 400);
},
Expand Down

0 comments on commit b101ce7

Please sign in to comment.