Wizard: Fix "and build images" buttons
The "Create / Save changes to a blueprint and build images" buttons were disabled by default.
This commit is contained in:
parent
18d59cf201
commit
adf802174c
2 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ import { selectPackages } from '../../../../../store/wizardSlice';
|
|||
type CreateDropdownProps = {
|
||||
getBlueprintPayload: () => Promise<'' | CreateBlueprintRequest | undefined>;
|
||||
setIsOpen: (isOpen: boolean) => void;
|
||||
isDisabled?: boolean;
|
||||
isDisabled: boolean;
|
||||
};
|
||||
|
||||
export const CreateSaveAndBuildBtn = ({
|
||||
|
|
@ -69,7 +69,7 @@ export const CreateSaveAndBuildBtn = ({
|
|||
<DropdownItem
|
||||
onClick={onSaveAndBuild}
|
||||
ouiaId="wizard-create-build-btn"
|
||||
isDisabled={isDisabled || true}
|
||||
isDisabled={isDisabled}
|
||||
>
|
||||
Create blueprint and build image(s)
|
||||
</DropdownItem>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ type EditDropdownProps = {
|
|||
getBlueprintPayload: () => Promise<'' | CreateBlueprintRequest | undefined>;
|
||||
setIsOpen: (isOpen: boolean) => void;
|
||||
blueprintId: string;
|
||||
isDisabled?: boolean;
|
||||
isDisabled: boolean;
|
||||
};
|
||||
|
||||
export const EditSaveAndBuildBtn = ({
|
||||
|
|
@ -50,7 +50,7 @@ export const EditSaveAndBuildBtn = ({
|
|||
<DropdownItem
|
||||
onClick={onSaveAndBuild}
|
||||
ouiaId="wizard-edit-build-btn"
|
||||
isDisabled={isDisabled || true}
|
||||
isDisabled={isDisabled}
|
||||
>
|
||||
Save changes and build image(s)
|
||||
</DropdownItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue