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
This commit is contained in:
Charles Morgan 2020-09-10 01:02:44 -04:00 committed by GitHub
parent d86d0fedb4
commit 735aae6df7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,16 +40,16 @@ const EditScheduleModal = ({ schedule, ...props }: Omit<Props, 'onScheduleUpdate
/>
<div css={tw`flex mt-6`}>
<div css={tw`flex-1 mr-4`}>
<Field name={'dayOfWeek'} label={'Day of week'}/>
</div>
<div css={tw`flex-1 mr-4`}>
<Field name={'dayOfMonth'} label={'Day of month'}/>
<Field name={'minute'} label={'Minute'}/>
</div>
<div css={tw`flex-1 mr-4`}>
<Field name={'hour'} label={'Hour'}/>
</div>
<div css={tw`flex-1 mr-4`}>
<Field name={'dayOfMonth'} label={'Day of month'}/>
</div>
<div css={tw`flex-1`}>
<Field name={'minute'} label={'Minute'}/>
<Field name={'dayOfWeek'} label={'Day of week'}/>
</div>
</div>
<p css={tw`text-neutral-400 text-xs mt-2`}>