mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
parent
8892053268
commit
3250528bef
@ -20,7 +20,11 @@ import { jsonToXml } from 'client/models/Helper'
|
||||
import { createSteps } from 'client/utils'
|
||||
|
||||
const Steps = createSteps(
|
||||
[VmTemplatesTable, BasicConfiguration, ExtraConfiguration],
|
||||
vmTemplate => [
|
||||
!vmTemplate?.ID && VmTemplatesTable,
|
||||
BasicConfiguration,
|
||||
ExtraConfiguration
|
||||
].filter(Boolean),
|
||||
{
|
||||
transformInitialValue: (vmTemplate, schema) => ({
|
||||
...schema.cast({
|
||||
|
Loading…
x
Reference in New Issue
Block a user