Deploy fixes

This commit is contained in:
Tom Butcher 2025-09-07 19:44:10 +01:00
parent 7d59c5defd
commit 82831e4225

View File

@ -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
} }
] ]
} }