findOrFail($userNotificationChannelId); } catch (ModelNotFoundException) { return redirect('vaults'); } return Inertia::render('Settings/Notifications/Logs/Index', [ 'layoutData' => VaultIndexViewHelper::layoutData(), 'data' => NotificationsLogIndexViewHelper::data($channel, Auth::user()), ]); } }