Skip to content

Commit 735aae6

Browse files
Arrange cron times in proper order to match
Moves the rendering of the time boxes to proper locations to match the view on the main schedules page and to match cron syntax
1 parent d86d0fe commit 735aae6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/scripts/components/server/schedules/EditScheduleModal.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ const EditScheduleModal = ({ schedule, ...props }: Omit<Props, 'onScheduleUpdate
4040
/>
4141
<div css={tw`flex mt-6`}>
4242
<div css={tw`flex-1 mr-4`}>
43-
<Field name={'dayOfWeek'} label={'Day of week'}/>
43+
<Field name={'minute'} label={'Minute'}/>
4444
</div>
4545
<div css={tw`flex-1 mr-4`}>
46-
<Field name={'dayOfMonth'} label={'Day of month'}/>
46+
<Field name={'hour'} label={'Hour'}/>
4747
</div>
4848
<div css={tw`flex-1 mr-4`}>
49-
<Field name={'hour'} label={'Hour'}/>
49+
<Field name={'dayOfMonth'} label={'Day of month'}/>
5050
</div>
5151
<div css={tw`flex-1`}>
52-
<Field name={'minute'} label={'Minute'}/>
52+
<Field name={'dayOfWeek'} label={'Day of week'}/>
5353
</div>
5454
</div>
5555
<p css={tw`text-neutral-400 text-xs mt-2`}>

0 commit comments

Comments
 (0)