Skip to content

Commit

Permalink
Fix: Fix compatibility with dynamic page length
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying committed Aug 4, 2023
1 parent 8157303 commit 27fc2a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/pages/DashboardHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,15 @@ export default {
};
},
watch: {
displayedRecords() {
perPage() {
this.$nextTick(() => {
this.updatePerPage();
this.getImportantHeartbeatListPaged();
});
},

page() {
this.getImportantHeartbeatListPaged();
},
},

mounted() {
Expand Down

0 comments on commit 27fc2a5

Please sign in to comment.