- fixed pagination error on delete etc.
This commit is contained in:
parent
3b05befa92
commit
108e89195c
1 changed files with 3 additions and 2 deletions
|
|
@ -242,9 +242,10 @@ export default {
|
|||
}
|
||||
},
|
||||
updatePagination(resetPage = true) {
|
||||
if(resetPage) {
|
||||
this.updatePage(1);
|
||||
}
|
||||
this.pagination = this.premiseStore.pagination;
|
||||
if(resetPage)
|
||||
this.pagination.page = 1;
|
||||
},
|
||||
updateCheckbox(data) {
|
||||
this.premiseStore.setChecked(data.id, data.checked);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue