diff --git a/client/modules/workspace/src/AppsWizard/AppsFormSchema.ts b/client/modules/workspace/src/AppsWizard/AppsFormSchema.ts index 4ddd024787..6428a52568 100644 --- a/client/modules/workspace/src/AppsWizard/AppsFormSchema.ts +++ b/client/modules/workspace/src/AppsWizard/AppsFormSchema.ts @@ -455,7 +455,7 @@ const FormSchema = ( : ''; appFields.configuration.defaults['allocation'] = isAppTypeBATCH(definition) - ? allocations.includes(portalAlloc) + ? allocations.includes(portalAlloc || '') ? portalAlloc : allocations.length === 1 ? allocations[0]