Deploy fixes
This commit is contained in:
parent
7d59c5defd
commit
82831e4225
@ -24,7 +24,7 @@ export const Job = {
|
|||||||
row: true,
|
row: true,
|
||||||
icon: CheckIcon,
|
icon: CheckIcon,
|
||||||
url: (_id) =>
|
url: (_id) =>
|
||||||
`/dashboard/production/jobs/info?jobId=${_id}?action=deploy`,
|
`/dashboard/production/jobs/info?jobId=${_id}&action=deploy`,
|
||||||
disabled: (objectData) => {
|
disabled: (objectData) => {
|
||||||
console.log('Should be disabled', objectData?.state?.type != 'draft')
|
console.log('Should be disabled', objectData?.state?.type != 'draft')
|
||||||
return objectData?.state?.type != 'draft'
|
return objectData?.state?.type != 'draft'
|
||||||
@ -107,7 +107,8 @@ export const Job = {
|
|||||||
label: 'Printers',
|
label: 'Printers',
|
||||||
type: 'objectList',
|
type: 'objectList',
|
||||||
objectType: 'printer',
|
objectType: 'printer',
|
||||||
required: true
|
required: true,
|
||||||
|
span: 2
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user