refact list front
This commit is contained in:
1 parent
2c0536a864
commit
033f563595
3 files changed
+39
-5
No files matched your search
@@ -17,6 +17,7 @@ class ToDoCollection extends ResourceCollection
|
||||
return [
|
||||
'data' => $this->collection,
|
||||
'to_dos_count' => $this->count(),
|
||||
'to_dos_count_check' => $this->where('checked_at', '!=', null)->count(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user