diff --git a/client/src/Pages/Uptime/Monitors/index.tsx b/client/src/Pages/Uptime/Monitors/index.tsx index 4251e5edf..e660a55f1 100644 --- a/client/src/Pages/Uptime/Monitors/index.tsx +++ b/client/src/Pages/Uptime/Monitors/index.tsx @@ -68,7 +68,9 @@ const UptimeMonitorsPage = () => { // Default to all types when none selected const effectiveTypes = - selectedTypes.length > 0 ? selectedTypes : ["http", "ping", "docker", "port", "game", "grpc"]; + selectedTypes.length > 0 + ? selectedTypes + : ["http", "ping", "docker", "port", "game", "grpc"]; // Build URL for monitors with checks const monitorsWithChecksUrl = useMemo(() => { diff --git a/server/src/service/business/monitorService.ts b/server/src/service/business/monitorService.ts index 2005a4a5d..cafc65a93 100644 --- a/server/src/service/business/monitorService.ts +++ b/server/src/service/business/monitorService.ts @@ -218,7 +218,8 @@ export class MonitorService implements IMonitorService { checksData.monitorType !== "ping" && checksData.monitorType !== "docker" && checksData.monitorType !== "port" && - checksData.monitorType !== "game" + checksData.monitorType !== "game" && + checksData.monitorType !== "grpc" ) { throw new AppError({ message: `${monitor.type} monitors are not supported for uptime details`, status: 400 }); }