multiple: set sane defaults
Set sane defaults for some types rather than setting them to `undefined`. This is so that we can set `exactOptionalPropertyTypes` to true in our tsconfig.
This commit is contained in:
parent
877497f81c
commit
d4436dc6a9
11 changed files with 23 additions and 21 deletions
|
|
@ -69,7 +69,7 @@ export const CreateSaveAndBuildBtn = ({
|
|||
<DropdownItem
|
||||
onClick={onSaveAndBuild}
|
||||
ouiaId="wizard-create-build-btn"
|
||||
isDisabled={isDisabled}
|
||||
isDisabled={isDisabled || true}
|
||||
>
|
||||
Create blueprint and build image(s)
|
||||
</DropdownItem>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ export const EditSaveAndBuildBtn = ({
|
|||
<DropdownItem
|
||||
onClick={onSaveAndBuild}
|
||||
ouiaId="wizard-edit-build-btn"
|
||||
isDisabled={isDisabled}
|
||||
isDisabled={isDisabled || true}
|
||||
>
|
||||
Save changes and build image(s)
|
||||
</DropdownItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue