adjusted Dashboard

This commit is contained in:
2025-04-23 15:48:00 +02:00
parent dd5892292b
commit 71f3a01ed2
2 changed files with 13 additions and 5 deletions
+3 -2
View File
@@ -11,7 +11,8 @@ class Dashboard extends Component
{
public function render()
{
$manufacturers = Manufacturer::all()->sortBy('filament_count')->reverse();
return view('livewire.dashboard', compact('manufacturers'));
return view('livewire.dashboard', [
'manufacturers' => Manufacturer::all()->sortBy('filament_count')->reverse()
]);
}
}