This commit is contained in:
2025-04-25 17:22:48 +08:00
parent 7d0d4c1594
commit b265ef40fc
+1 -2
View File
@@ -13,8 +13,7 @@ class LocationController
*/ */
public function index(Request $request) public function index(Request $request)
{ {
$locations = Location::hasVehicles() $locations = Location::with('vehicles')
->with('vehicles')
->with('fboVehicles') ->with('fboVehicles')
->get() ->get()
->map(function ($location) { ->map(function ($location) {