From a13056bd1b0f3599a9b37d274eb7d303de26f6ee Mon Sep 17 00:00:00 2001 From: mohadeseh safari Date: Sat, 7 Jun 2025 19:12:22 -0400 Subject: [PATCH 1/2] Fix #2365: Add port monitor support to status page --- client/src/Pages/StatusPage/Create/Hooks/useMonitorsFetch.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/Pages/StatusPage/Create/Hooks/useMonitorsFetch.jsx b/client/src/Pages/StatusPage/Create/Hooks/useMonitorsFetch.jsx index e3c4ae2fc..5c523b635 100644 --- a/client/src/Pages/StatusPage/Create/Hooks/useMonitorsFetch.jsx +++ b/client/src/Pages/StatusPage/Create/Hooks/useMonitorsFetch.jsx @@ -15,7 +15,7 @@ const useMonitorsFetch = () => { const response = await networkService.getMonitorsByTeamId({ teamId: user.teamId, limit: null, // donot return any checks for the monitors - types: ["http", "ping"], // status page is available for uptime and ping monitors + types: ["http", "ping", "port"], // status page is available for uptime, ping, and port monitors }); setMonitors(response.data.data.monitors); } catch (error) { From dfe88b30e8e92395df2e560abe01a8fe62c9639c Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Sun, 8 Jun 2025 08:09:00 +0800 Subject: [PATCH 2/2] fix formatting --- client/src/Pages/Settings/index.jsx | 4 ++-- client/src/Pages/Uptime/Create/index.jsx | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/Pages/Settings/index.jsx b/client/src/Pages/Settings/index.jsx index f7271e6db..dd0135edb 100644 --- a/client/src/Pages/Settings/index.jsx +++ b/client/src/Pages/Settings/index.jsx @@ -205,7 +205,7 @@ const Settings = () => { bottom: 0, boxShadow: theme.shape.boxShadow, zIndex: 1000, - mt : 3, + mt: 3, backgroundColor: theme.palette.primary.main, display: "flex", justifyContent: "flex-end", @@ -216,7 +216,7 @@ const Settings = () => { border: 1, borderStyle: "solid", borderColor: theme.palette.primary.lowContrast, - borderRadius: theme.spacing(2) + borderRadius: theme.spacing(2), }} >