This commit is contained in:
Alex Holliday committed 2026-02-04 21:47:56 +00:00
1 parent f0b2292f0a
commit 4f0017c031
2 files changed
+13 -6

No files matched your search

@@ -90,8 +90,8 @@ const CreateMaintenanceWindowPage = () => {
} }
/> />
<ConfigBox <ConfigBox
title={t("pages.maintenanceWindow.form.startTime.title")} title={t("pages.maintenanceWindow.form.startDate.title")}
subtitle={t("pages.maintenanceWindow.form.startTime.description")} subtitle={t("pages.maintenanceWindow.form.startDate.description")}
rightContent={ rightContent={
<Stack spacing={theme.spacing(8)}> <Stack spacing={theme.spacing(8)}>
<Controller <Controller
@@ -101,7 +101,7 @@ const CreateMaintenanceWindowPage = () => {
render={({ field }) => ( render={({ field }) => (
<DatePicker <DatePicker
fieldLabel={t( fieldLabel={t(
"pages.maintenanceWindow.form.startTime.option.startDate.label" "pages.maintenanceWindow.form.startDate.option.startDate.label"
)} )}
value={field.value ? dayjs(field.value, "YYYY-MM-DD") : null} value={field.value ? dayjs(field.value, "YYYY-MM-DD") : null}
onChange={(date) => { onChange={(date) => {
+10 -3
View File
@@ -807,6 +807,15 @@
} }
} }
}, },
"startDate": {
"title": "Start date",
"description": "Select the start date for your maintenance window.",
"option": {
"startDate": {
"label": "Start date"
}
}
},
"startTime": { "startTime": {
"title": "Start time", "title": "Start time",
"description": "Set the start time and duration for your maintenance window.", "description": "Set the start time and duration for your maintenance window.",
@@ -814,9 +823,7 @@
"duration": { "duration": {
"label": "Duration" "label": "Duration"
}, },
"startDate": {
"label": "Start date"
},
"startTime": { "startTime": {
"label": "Start time" "label": "Start time"
} }