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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user