fixes
This commit is contained in:
1 parent
acf13ad78e
commit
064bec458c
2 files changed
+12
-7
No files matched your search
@@ -47,3 +47,9 @@
|
|||||||
.maintenance-options .add-monitors-fields .field.field-text {
|
.maintenance-options .add-monitors-fields .field.field-text {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.MuiPopover-paper.MuiMenu-paper.select-dropdown
|
||||||
|
.MuiMenu-list
|
||||||
|
.MuiButtonBase-root {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
@@ -47,10 +47,9 @@ const configOptionTitle = (title, description) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const timeFrames = [
|
const timeFrames = [
|
||||||
{ _id: 1, name: "seconds" },
|
{ _id: "minutes", name: "minutes" },
|
||||||
{ _id: 2, name: "minutes" },
|
{ _id: "hours", name: "hours" },
|
||||||
{ _id: 3, name: "hours" },
|
{ _id: "days", name: "days" },
|
||||||
{ _id: 4, name: "days" },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const sxButtons = {
|
const sxButtons = {
|
||||||
@@ -63,7 +62,7 @@ const CreateNewMaintenanceWindow = () => {
|
|||||||
repeat: 1,
|
repeat: 1,
|
||||||
date: dayjs(),
|
date: dayjs(),
|
||||||
startTime: dayjs(),
|
startTime: dayjs(),
|
||||||
duration: "60",
|
durationOptions: "60",
|
||||||
unit: "minutes",
|
unit: "minutes",
|
||||||
friendlyName: "",
|
friendlyName: "",
|
||||||
AddMonitors: "",
|
AddMonitors: "",
|
||||||
@@ -131,8 +130,8 @@ const CreateNewMaintenanceWindow = () => {
|
|||||||
<Field
|
<Field
|
||||||
id="duration-value"
|
id="duration-value"
|
||||||
placeholder="60"
|
placeholder="60"
|
||||||
onChange={(e) => handleChange(e, "duration")}
|
onChange={(e) => handleChange(e, "durationOptions")}
|
||||||
value={values.duration}
|
value={values.durationOptions}
|
||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
onChange={(e) => handleChange(e, "unit")}
|
onChange={(e) => handleChange(e, "unit")}
|
||||||
|
|||||||
Reference in new issue
Block a user