fix title/name rendering
This commit is contained in:
1 parent
6f2a60acd9
commit
829b16e2b7
1 file changed
+2
-2
@@ -8,7 +8,7 @@ import { StatusLabel } from "../../../../../Components/Label";
|
|||||||
import { useTheme } from "@mui/material/styles";
|
import { useTheme } from "@mui/material/styles";
|
||||||
import useUtils from "../../../../Uptime/Monitors/Hooks/useUtils";
|
import useUtils from "../../../../Uptime/Monitors/Hooks/useUtils";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
const MonitorsList = ({ monitors = [] }) => {
|
const MonitorsList = ({ isLoading = false, shouldRender = true, monitors = [] }) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { determineState } = useUtils();
|
const { determineState } = useUtils();
|
||||||
return (
|
return (
|
||||||
@@ -24,7 +24,7 @@ const MonitorsList = ({ monitors = [] }) => {
|
|||||||
<Host
|
<Host
|
||||||
key={monitor._id}
|
key={monitor._id}
|
||||||
url={monitor.url}
|
url={monitor.url}
|
||||||
title={monitor.title}
|
title={monitor.name}
|
||||||
percentageColor={monitor.percentageColor}
|
percentageColor={monitor.percentageColor}
|
||||||
percentage={monitor.percentage}
|
percentage={monitor.percentage}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user