Add possibility to run disabled cron

This commit is contained in:
Julien Tant 2021-04-24 15:06:21 -07:00
parent 2fc288e53a
commit 552b9d3c33
4 changed files with 12 additions and 10 deletions

View file

@ -161,7 +161,7 @@ export default () => {
onDeleted={() => history.push(`/server/${id}/schedules`)}
/>
</Can>
{schedule.isActive && schedule.tasks.length > 0 &&
{schedule.tasks.length > 0 &&
<Can action={'schedule.update'}>
<RunScheduleButton schedule={schedule}/>
</Can>