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