mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 01:38:54 +00:00
Remove internals from public status page
This commit is contained in:
@@ -20,10 +20,10 @@ class StatusPageController extends BasePageController
|
||||
*/
|
||||
public function showStatusPage(): View
|
||||
{
|
||||
$services = $this->siteStatusService->getAllStatuses();
|
||||
$overall = $this->siteStatusService->getOverallStatus();
|
||||
$activeIncidents = $this->siteStatusService->getActiveIncidents();
|
||||
$recentResolved = $this->siteStatusService->getRecentResolvedIncidents(30);
|
||||
$services = $this->siteStatusService->getPublicEnabledServices();
|
||||
$overall = $this->siteStatusService->getOverallPublicStatus();
|
||||
$activeIncidents = $this->siteStatusService->getActiveIncidentsForPublic();
|
||||
$recentResolved = $this->siteStatusService->getRecentResolvedIncidentsForPublic(30);
|
||||
|
||||
$groupedResolved = $recentResolved->groupBy(function ($incident) {
|
||||
return $incident->resolved_at?->format('Y-m-d') ?? 'unknown';
|
||||
|
||||
Reference in New Issue
Block a user