feat: schedule ui

This commit is contained in:
karishmas6
2024-10-25 01:38:07 +05:30
parent 3c56c4edae
commit ed288ad466

View File

@@ -136,11 +136,10 @@ export const ScheduleSettingsModal = ({ isOpen, handleStart, handleClose, initia
{
(schedule !== null) ? (
<>
<Typography>Robot has a schedule set up:</Typography>
<Typography variant='h6' gutterBottom>Robot has a schedule set up</Typography>
<Typography>Run every: {schedule.runEvery} {schedule.runEveryUnit.toLowerCase()}</Typography>
<Typography>Start from: {schedule.startFrom.charAt(0).toUpperCase() + schedule.startFrom.slice(1).toLowerCase()}</Typography>
<Typography>At around: {schedule.atTimeStart}</Typography>
<Typography>Timezone: {schedule.timezone}</Typography>
<Typography>At around: {schedule.atTimeStart}, {schedule.timezone} Timezone</Typography>
<Box mt={2} display="flex" justifyContent="space-between">
<Button
onClick={deleteRobotSchedule}