|
@ -58,7 +58,7 @@ export const manageLibraryCrud = { |
|
|
handleSearch(categoryLevel) { |
|
|
handleSearch(categoryLevel) { |
|
|
const queryResult = this.hasValue(this.query) |
|
|
const queryResult = this.hasValue(this.query) |
|
|
console.log(queryResult) |
|
|
console.log(queryResult) |
|
|
if (localStorage.getItem('currentPage') && !queryResult && this.selectStatus.length === 0) { |
|
|
|
|
|
|
|
|
if (localStorage.getItem('currentPage') && !queryResult && this.selectStatus.length === 0 && this.parentsData.checklist.length === 0) { |
|
|
this.page.page = parseInt(localStorage.getItem('currentPage')) |
|
|
this.page.page = parseInt(localStorage.getItem('currentPage')) |
|
|
} else { |
|
|
} else { |
|
|
this.page.page = 0 |
|
|
this.page.page = 0 |
|
|