mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Add test coverage for schedule execution
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user