popup component for worker active job added
This commit was merged in pull request #149.
This commit is contained in:
@@ -16,11 +16,11 @@ function IndexJobActions({details}) { // FUNCTION TO RENDER SPECIFIC JOB ACTION
|
||||
case 'OWNER':
|
||||
return (()=>{
|
||||
if(description == 'ACTIVE'){
|
||||
return <CurrentJobAction />
|
||||
return <CurrentJobAction jobDetails={details} />
|
||||
}else if(description == 'PASTDUE'){
|
||||
return <PastDueJobAction />
|
||||
return <PastDueJobAction jobDetails={details} />
|
||||
}else if(description == 'REVIEW'){
|
||||
return <ReviewJobAction />
|
||||
return <ReviewJobAction jobDetails={details} />
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
@@ -28,11 +28,11 @@ function IndexJobActions({details}) { // FUNCTION TO RENDER SPECIFIC JOB ACTION
|
||||
case 'WORKER':
|
||||
return (()=>{
|
||||
if(description == 'ACTIVE'){
|
||||
return <CurrentTaskAction />
|
||||
return <CurrentTaskAction jobDetails={details} />
|
||||
}else if(description == 'PASTDUE'){
|
||||
return <PastDueTaskAction />
|
||||
return <PastDueTaskAction jobDetails={details} />
|
||||
}else if(description == 'REVIEW'){
|
||||
return <ReviewTaskAction />
|
||||
return <ReviewTaskAction jobDetails={details} />
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user