CreateImageWizard: support edit mode on premise
The way the on premise wizard is initialized needed to be tweaked to make it work for isEdit. Let's assume that the host distro and host architecture are already correct in the blueprint.
This commit is contained in:
parent
0204bcced5
commit
52a43b0f2d
6 changed files with 36 additions and 5 deletions
|
|
@ -15,8 +15,10 @@ import { useNavigate, useParams } from 'react-router-dom';
|
|||
import { CreateSaveAndBuildBtn, CreateSaveButton } from './CreateDropdown';
|
||||
import { EditSaveAndBuildBtn, EditSaveButton } from './EditDropdown';
|
||||
|
||||
import { useCreateBlueprintMutation } from '../../../../../store/backendApi';
|
||||
import { useUpdateBlueprintMutation } from '../../../../../store/imageBuilderApi';
|
||||
import {
|
||||
useCreateBlueprintMutation,
|
||||
useUpdateBlueprintMutation,
|
||||
} from '../../../../../store/backendApi';
|
||||
import { resolveRelPath } from '../../../../../Utilities/path';
|
||||
import { mapRequestFromState } from '../../../utilities/requestMapper';
|
||||
import { useIsBlueprintValid } from '../../../utilities/useValidation';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue