Add test coverage for schedule execution
This commit is contained in:
parent
c1ee0ac4f8
commit
e7c64bc60e
4 changed files with 106 additions and 5 deletions
|
@ -146,7 +146,7 @@ export default ({ match, history, location: { state } }: RouteComponentProps<Par
|
|||
onDeleted={() => history.push(`/server/${id}/schedules`)}
|
||||
/>
|
||||
</Can>
|
||||
{schedule.isActive &&
|
||||
{schedule.isActive && schedule.tasks.length > 0 &&
|
||||
<Can action={'schedule.update'}>
|
||||
<RunScheduleButton schedule={schedule}/>
|
||||
</Can>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue