Added Notifications

This commit is contained in:
2026-05-21 22:52:16 +10:00
parent 10d6ee8dee
commit 150c34bfb8
14 changed files with 161 additions and 107 deletions
@@ -52,10 +52,10 @@ class FlightProfileController extends Controller
abort(404);
}
return Inertia::render('UserFlight', [
'flightCount' => $user->flights()->count(),
'flightCount' => $user->departedFlights()->count(),
'flight' => $userFlight->snapshot($userFlight->id),
'canEdit' => auth()->check() && auth()->id() === $user->id,
'user' => $user,
'isFollowing' => auth()->check() && auth()->user()->isFollowing($user),
]);