Skip to content

Commit

Permalink
fix: auto disable after editing cron task (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulclindo authored Dec 20, 2024
1 parent 5504ffb commit 1afb887
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ function CronTask({ mode, initialValues }: CronTaskProps) {
'CreateJobWithConfigAndMessage' in initialValues.action
? initialValues?.action.CreateJobWithConfigAndMessage.message.job_id
: '',
active: !initialValues.paused,
});
}
};
Expand Down

0 comments on commit 1afb887

Please sign in to comment.