User can add/edit flights

This commit is contained in:
2026-04-12 20:34:22 +10:00
parent 0f84ec023e
commit a9aa65f0d2
12 changed files with 266 additions and 20 deletions
@@ -31,6 +31,7 @@ class FlightProfileController extends Controller
return Inertia::render('FlightProfile', [
'user' => $user,
'canEdit' => auth()->check() && auth()->id() === $user->id,
'flights' => UserFlightResource::collection($flights)->resolve(),
]);
}