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:
parent
d86d0fedb4
commit
735aae6df7
1 changed files with 5 additions and 5 deletions
|
@ -40,16 +40,16 @@ const EditScheduleModal = ({ schedule, ...props }: Omit<Props, 'onScheduleUpdate
|
||||||
/>
|
/>
|
||||||
<div css={tw`flex mt-6`}>
|
<div css={tw`flex mt-6`}>
|
||||||
<div css={tw`flex-1 mr-4`}>
|
<div css={tw`flex-1 mr-4`}>
|
||||||
<Field name={'dayOfWeek'} label={'Day of week'}/>
|
<Field name={'minute'} label={'Minute'}/>
|
||||||
</div>
|
|
||||||
<div css={tw`flex-1 mr-4`}>
|
|
||||||
<Field name={'dayOfMonth'} label={'Day of month'}/>
|
|
||||||
</div>
|
</div>
|
||||||
<div css={tw`flex-1 mr-4`}>
|
<div css={tw`flex-1 mr-4`}>
|
||||||
<Field name={'hour'} label={'Hour'}/>
|
<Field name={'hour'} label={'Hour'}/>
|
||||||
</div>
|
</div>
|
||||||
|
<div css={tw`flex-1 mr-4`}>
|
||||||
|
<Field name={'dayOfMonth'} label={'Day of month'}/>
|
||||||
|
</div>
|
||||||
<div css={tw`flex-1`}>
|
<div css={tw`flex-1`}>
|
||||||
<Field name={'minute'} label={'Minute'}/>
|
<Field name={'dayOfWeek'} label={'Day of week'}/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p css={tw`text-neutral-400 text-xs mt-2`}>
|
<p css={tw`text-neutral-400 text-xs mt-2`}>
|
||||||
|
|
Loading…
Reference in a new issue