Update JobInfo component to pass complete object data to DeployJob component
- Modified the objectData prop in DeployJob to spread the properties from objectFormState, ensuring all relevant data is passed for deployment actions.
This commit is contained in:
parent
31e6356d9c
commit
fed7de8663
@ -243,7 +243,7 @@ const JobInfo = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DeployJob
|
<DeployJob
|
||||||
objectData={{ _id: jobId }}
|
objectData={{ ...objectFormState.objectData }}
|
||||||
onOk={() => {
|
onOk={() => {
|
||||||
actionHandlerRef.current.clearAction()
|
actionHandlerRef.current.clearAction()
|
||||||
setDeployJobOpen(false)
|
setDeployJobOpen(false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user