main
Ilham Wara Nugroho 2026-01-19 15:30:57 +07:00
parent 99089faf38
commit b5cf3db370
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class HomeController extends Controller
}else{
$data['dashboard'] = AccessMenu::with(['parentMenu'])->whereHas('parentMenu',function($query){
$query->where('parent_id','!=','0');
})->where('module','like','%dashboard%')->get();
})->where('module','like','%dashboard%')->groupBy(['ms_group_id'])->get();
}
return view('home',$data);