defined a constant for the type of monitors
This commit is contained in:
1 parent
3df19fc516
commit
fd64a67360
1 file changed
+7
@@ -7,6 +7,13 @@ import { useTheme } from "@mui/material/styles";
|
|||||||
import { Typography } from "@mui/material";
|
import { Typography } from "@mui/material";
|
||||||
import useUtils from "../../../Monitors/Hooks/useUtils";
|
import useUtils from "../../../Monitors/Hooks/useUtils";
|
||||||
|
|
||||||
|
const MONITOR_TYPES = {
|
||||||
|
WEB: ["http", "https"],
|
||||||
|
PING: ["ping"],
|
||||||
|
DOCKER: ["docker"],
|
||||||
|
PORT: ["port"],
|
||||||
|
};
|
||||||
|
|
||||||
const UptimeStatusBoxes = ({
|
const UptimeStatusBoxes = ({
|
||||||
isLoading = false,
|
isLoading = false,
|
||||||
monitor,
|
monitor,
|
||||||
|
|||||||
Reference in new issue
Block a user