Skip to content

Commit fec265a

Browse files
committed
Fixed: case to empty the runTime epoch when updating a job or skipping a job
1 parent f202919 commit fec265a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/store/modules/job/actions.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,8 @@ const actions: ActionTree<JobState, RootState> = {
513513
'systemJobEnumId': job.systemJobEnumId,
514514
'recurrenceTimeZone': this.state.user.current.userTimeZone,
515515
'tempExprId': job.jobStatus,
516-
'statusId': "SERVICE_PENDING"
516+
'statusId': "SERVICE_PENDING",
517+
'runTimeEpoch': ''
517518
} as any
518519

519520
job?.runTime && (payload['runTime'] = job.runTime)
@@ -650,7 +651,8 @@ const actions: ActionTree<JobState, RootState> = {
650651
'runTime': updatedRunTime,
651652
'systemJobEnumId': job.systemJobEnumId,
652653
'recurrenceTimeZone': this.state.user.current.userTimeZone,
653-
'statusId': "SERVICE_PENDING"
654+
'statusId': "SERVICE_PENDING",
655+
'runTimeEpoch': ''
654656
} as any
655657

656658
const resp = await JobService.updateJob(payload)

0 commit comments

Comments
 (0)