feat: schedule ui
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user