diff --git a/dist/views/request.js b/dist/views/request.js index 56a1be5..5a60baf 100644 --- a/dist/views/request.js +++ b/dist/views/request.js @@ -125,7 +125,7 @@ class Request extends Component { this.list = this.#list .filter(it => it.id.includes(filter) && (waited ? it.stat === 1 : true)) .slice(start, end) - this.total = this.list.length + this.total = (filter || waited ? this.list : this.#list).length } #pageChanged(ev) {