Added missing heading
This commit is contained in:
1 parent
9b341c80dc
commit
f51d14ee7c
2 files changed
+34
-28
No files matched your search
@@ -53,6 +53,7 @@
|
|||||||
|
|
||||||
.MuiInputBase-root:has(#monitor-interval) {
|
.MuiInputBase-root:has(#monitor-interval) {
|
||||||
height: 34px;
|
height: 34px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
#monitor-interval {
|
#monitor-interval {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
|
|||||||
@@ -285,35 +285,40 @@ const Configure = () => {
|
|||||||
<Typography component="h2">Advanced settings</Typography>
|
<Typography component="h2">Advanced settings</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Stack gap={theme.gap.xl}>
|
<Stack gap={theme.gap.xl}>
|
||||||
<Select
|
<Box>
|
||||||
id="monitor-interval"
|
<Typography component="p" mb={theme.gap.small}>
|
||||||
value={monitor?.interval || 1}
|
Check frequency
|
||||||
inputProps={{ id: "monitor-interval-select" }}
|
</Typography>
|
||||||
MenuProps={{
|
<Select
|
||||||
PaperProps: {
|
id="monitor-interval"
|
||||||
style: {
|
value={monitor?.interval || 1}
|
||||||
marginTop: "10px",
|
inputProps={{ id: "monitor-interval-select" }}
|
||||||
|
MenuProps={{
|
||||||
|
PaperProps: {
|
||||||
|
style: {
|
||||||
|
marginTop: "10px",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
}}
|
||||||
}}
|
IconComponent={KeyboardArrowDownIcon}
|
||||||
IconComponent={KeyboardArrowDownIcon}
|
onChange={(event) => handleChange(event, "interval")}
|
||||||
onChange={(event) => handleChange(event, "interval")}
|
>
|
||||||
>
|
{frequencies.map((freq) => (
|
||||||
{frequencies.map((freq) => (
|
<MenuItem
|
||||||
<MenuItem
|
key={`port-${freq}`}
|
||||||
key={`port-${freq}`}
|
value={freq}
|
||||||
value={freq}
|
disableRipple
|
||||||
disableRipple
|
sx={{
|
||||||
sx={{
|
fontSize: "13px",
|
||||||
fontSize: "13px",
|
borderRadius: `${theme.shape.borderRadius}px`,
|
||||||
borderRadius: `${theme.shape.borderRadius}px`,
|
margin: theme.gap.xs,
|
||||||
margin: theme.gap.xs,
|
}}
|
||||||
}}
|
>
|
||||||
>
|
{freq} {freq === 1 ? "minute" : "minutes"}
|
||||||
{freq} {freq === 1 ? "minute" : "minutes"}
|
</MenuItem>
|
||||||
</MenuItem>
|
))}
|
||||||
))}
|
</Select>
|
||||||
</Select>
|
</Box>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in new issue
Block a user