Fixed missing with clause
This commit is contained in:
parent
42db9563ae
commit
93dd27339b
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class StatuslabelsController extends Controller
|
|||
public function getAssetCountByStatuslabel()
|
||||
{
|
||||
|
||||
$statusLabels = Statuslabel::with()->get();
|
||||
$statusLabels = Statuslabel::with('assets')->get();
|
||||
$labels=[];
|
||||
$points=[];
|
||||
$colors=[];
|
||||
|
|
Loading…
Add table
Reference in a new issue