chore: typings

This commit is contained in:
Sami Mazouz 2024-03-08 21:49:27 +01:00
parent f3b819009b
commit 80ded88692
No known key found for this signature in database

View File

@ -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();