From 9d2a18b6751b4bccbccd81f7ac7d46a3c5e83f29 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Sat, 1 Feb 2025 07:58:51 -0800 Subject: [PATCH 1/2] update empty view message for Uptime and Pagespeed --- Client/src/Pages/PageSpeed/Details/index.jsx | 2 +- Client/src/Pages/Uptime/Details/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/src/Pages/PageSpeed/Details/index.jsx b/Client/src/Pages/PageSpeed/Details/index.jsx index b2e593482..b40a4aca0 100644 --- a/Client/src/Pages/PageSpeed/Details/index.jsx +++ b/Client/src/Pages/PageSpeed/Details/index.jsx @@ -70,7 +70,7 @@ const PageSpeedDetails = () => { monitor={monitor} /> - There is no history for this monitor yet. + There is no check history for this monitor yet. ); diff --git a/Client/src/Pages/Uptime/Details/index.jsx b/Client/src/Pages/Uptime/Details/index.jsx index 5839a9943..f1e4e4c66 100644 --- a/Client/src/Pages/Uptime/Details/index.jsx +++ b/Client/src/Pages/Uptime/Details/index.jsx @@ -90,7 +90,7 @@ const UptimeDetails = () => { monitor={monitor} /> - There is no history for this monitor yet. + There is no check history for this monitor yet. ); From cdce6b95ccb5c19c1bb857edc9d788ae65f6f665 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Sat, 1 Feb 2025 07:59:40 -0800 Subject: [PATCH 2/2] update empty view message for Infra monitors --- .../Pages/Infrastructure/Details/index.jsx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Client/src/Pages/Infrastructure/Details/index.jsx b/Client/src/Pages/Infrastructure/Details/index.jsx index 8e566c664..f686fa9ff 100644 --- a/Client/src/Pages/Infrastructure/Details/index.jsx +++ b/Client/src/Pages/Infrastructure/Details/index.jsx @@ -51,22 +51,22 @@ const InfrastructureDetails = () => { ); } - // if (!isLoading && monitor?.stats?.checks?.length === 0) { - // return ( - // - // - // - // - // No data found for this monitor - // - // - // ); - // } + if (!isLoading && monitor?.stats?.checks?.length === 0) { + return ( + + + + + No check history for htis monitor yet. + + + ); + } return (