Skip to content

Commit

Permalink
fix: handle case for miscellaneous jobs(#85zrjdd3b)
Browse files Browse the repository at this point in the history
  • Loading branch information
disha1202 committed Feb 1, 2023
1 parent 02a0201 commit c720818
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/modules/job/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,10 @@ const actions: ActionTree<JobState, RootState> = {
if (resp.status === 200 && !hasError(resp) && resp.data.docs?.length > 0) {
const total = resp.data.count;
let jobs = resp.data.docs.map((job: any) => {
if (job.statusId === 'SERVICE_DRAFT') job.runTime = "";
return {
...job,
'status': job?.statusId
'status': job.statusId
}
})
if(payload.viewIndex && payload.viewIndex > 0){
Expand Down

0 comments on commit c720818

Please sign in to comment.