diff --git a/src/components/molecules/ScheduleSettings.tsx b/src/components/molecules/ScheduleSettings.tsx index 894884bb..6759eae9 100644 --- a/src/components/molecules/ScheduleSettings.tsx +++ b/src/components/molecules/ScheduleSettings.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { GenericModal } from "../atoms/GenericModal"; -import { MenuItem, TextField, Typography } from "@mui/material"; +import { MenuItem, TextField, Typography, Box } from "@mui/material"; import { Dropdown } from "../atoms/DropdownMui"; import Button from "@mui/material/Button"; import { modalStyle } from "./AddWhereCondModal"; @@ -38,19 +38,22 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose }: Sche onClose={handleClose} modalStyle={modalStyle} > -
*': { marginBottom: '20px' }, }}> -
- Run once every + Schedule Settings + + + Run once every handleChange('runEvery', parseInt(e.target.value))} - style={{ width: '60px', margin: '0 10px' }} + sx={{ width: '60px', marginRight: '10px' }} /> weeks months -
+ -
- Start from + + Start from Saturday Sunday -
+ -
- At around - handleChange('atTime', e.target.value)} - /> -
+ + + At around + handleChange('atTime', e.target.value)} + /> + + + Timezone + handleChange('timezone', e.target.value)} + > + UTC + America/New_York + Europe/London + Asia/Tokyo + Asia/Kolkata + + + -
- Timezone - handleChange('timezone', e.target.value)} - > - UTC - America/New_York - Europe/London - Asia/Tokyo - Asia/Kolkata - {/* Add more timezone options as needed */} - -
- - -
+ + ); }