diff --git a/src/Pages/DistributedUptime/Details/Components/DeviceTicker/index.jsx b/src/Pages/DistributedUptime/Details/Components/DeviceTicker/index.jsx index e68d01104..c540d8045 100644 --- a/src/Pages/DistributedUptime/Details/Components/DeviceTicker/index.jsx +++ b/src/Pages/DistributedUptime/Details/Components/DeviceTicker/index.jsx @@ -18,7 +18,7 @@ const DeviceTicker = ({ data, width = "100%", connectionStatus }) => { }; return ( - + { {connectionStatus === "up" ? "Connected" : "No connection"} - - - - - - - - - - - {data.map((dataPoint) => { - const countryCode = dataPoint?.countryCode?.toLowerCase() ?? null; - const flag = countryCode ? `fi fi-${countryCode}` : null; - const city = dataPoint?.city !== "" ? dataPoint?.city : "Unknown"; - return ( - - - - - - - ); - })} - -
- COUNTRY - - CITY - - RESPONSE - - {isSmallScreen ? "UPT" : "UPT BURNED"} -
- - {flag ? : null}{" "} - {countryCode?.toUpperCase() ?? "N/A"} - - - {city} - - {Math.floor(dataPoint.responseTime)} ms - - - + - {isSmallScreen - ? safelyParseFloat(dataPoint.uptBurnt).toFixed(4) - : dataPoint.uptBurnt} - -
+
+ + + + + + + + + + + {data.map((dataPoint) => { + const countryCode = dataPoint?.countryCode?.toLowerCase() ?? null; + const flag = countryCode ? `fi fi-${countryCode}` : null; + const city = dataPoint?.city !== "" ? dataPoint?.city : "Unknown"; + return ( + + + + + + + ); + })} + +
+ COUNTRY + + CITY + + RESPONSE + + {"UPT BURNED"} +
+ + {flag ? : null}{" "} + {countryCode?.toUpperCase() ?? "N/A"} + + + {city} + + {Math.floor(dataPoint.responseTime)} ms + + + +{dataPoint.uptBurnt} + +
+
); }; diff --git a/src/Pages/StatusPage/Status/Components/ControlsHeader/index.jsx b/src/Pages/StatusPage/Status/Components/ControlsHeader/index.jsx index 86bb078a9..9eacf9b36 100644 --- a/src/Pages/StatusPage/Status/Components/ControlsHeader/index.jsx +++ b/src/Pages/StatusPage/Status/Components/ControlsHeader/index.jsx @@ -94,9 +94,9 @@ const ControlsHeader = ({ alignItems="flex-end" > - {statusPage?.companyName} + {statusPage?.companyName}