Skip to content

Commit

Permalink
Edited_cron
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSnehal27 committed Oct 14, 2024
1 parent 9de53f3 commit 62e1c7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/_pages/scheduler/detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export default function SchedulerJobDetail() {
setCronExpression(schedulerJob?.cronExpression);
};
const saveEditedJob = useCallback(() => {
console.log('In', schedulerJob);

if (!schedulerJob) return;
console.log('out', schedulerJob);


dispatch(
actions.updateSchedulerJob({
Expand All @@ -78,7 +78,7 @@ export default function SchedulerJobDetail() {
const handlecronchage = (e: React.ChangeEvent<HTMLInputElement>) => {
const value = e.target.value;
const validexp = isValidCronExpression;
console.log(validexp);

setCronExpression(value);
if (!validexp) {
// setCronExpression(value)
Expand Down

0 comments on commit 62e1c7c

Please sign in to comment.