Show the actual total number of tasks pending
This commit is contained in:
parent
40e7c8fdbe
commit
6d1003dcbd
2 changed files with 23 additions and 6 deletions
|
|
@ -106,7 +106,7 @@
|
|||
|
||||
const data = await response.json();
|
||||
this.tasks = data.tasks || [];
|
||||
this.totalPending = data.totalPending || this.tasks.length;
|
||||
this.totalPending = data.total || this.tasks.length;
|
||||
|
||||
// Auto-select first task if available
|
||||
if (this.tasks.length > 0 && !this.selectedTask) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue