This commit is contained in:
Alex Holliday
2026-02-04 21:47:56 +00:00
parent f0b2292f0a
commit 4f0017c031
2 changed files with 13 additions and 6 deletions
@@ -90,8 +90,8 @@ const CreateMaintenanceWindowPage = () => {
}
/>
<ConfigBox
title={t("pages.maintenanceWindow.form.startTime.title")}
subtitle={t("pages.maintenanceWindow.form.startTime.description")}
title={t("pages.maintenanceWindow.form.startDate.title")}
subtitle={t("pages.maintenanceWindow.form.startDate.description")}
rightContent={
<Stack spacing={theme.spacing(8)}>
<Controller
@@ -101,7 +101,7 @@ const CreateMaintenanceWindowPage = () => {
render={({ field }) => (
<DatePicker
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}
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": {
"title": "Start time",
"description": "Set the start time and duration for your maintenance window.",
@@ -814,9 +823,7 @@
"duration": {
"label": "Duration"
},
"startDate": {
"label": "Start date"
},
"startTime": {
"label": "Start time"
}