mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +08:00
chore: typings
This commit is contained in:
parent
f3b819009b
commit
80ded88692
|
@ -22,7 +22,7 @@ export default class QueueState {
|
|||
|
||||
return app.store.find<Task[]>('extension-manager-tasks', params || {}).then((data) => {
|
||||
this.tasks = data;
|
||||
this.total = data.payload.meta?.total;
|
||||
this.total = data.payload.meta?.total || 0;
|
||||
|
||||
m.redraw();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user