1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

fix: paginated list limit hard to change (#3918)

* fix: paginated list limit hard to change

* chore: use the default value

* chore: apply to other list states

* chore: remove debugging code

* fix: typings
This commit is contained in:
Sami Mazouz
2023-11-10 22:31:46 +01:00
committed by GitHub
parent a9756cb5eb
commit 3107319812
9 changed files with 65 additions and 18 deletions

View File

@@ -21,7 +21,7 @@ export default class QueueState {
return app.store.find<Task[]>('package-manager-tasks', params || {}).then((data) => {
this.tasks = data;
this.total = data.payload.meta?.total;
this.total = data.payload.meta?.total!;
m.redraw();