CreateImageWizard: proprely gate WSL images
`isBeta` is a function, so the check would also return true in stable.
This commit is contained in:
parent
e011c4ba0b
commit
cea1caf175
1 changed files with 1 additions and 1 deletions
|
|
@ -361,7 +361,7 @@ const TargetEnvironment = ({ label, isRequired, ...props }) => {
|
|||
data-testid="checkbox-image-installer"
|
||||
/>
|
||||
)}
|
||||
{allowedTargets.includes('wsl') && isBeta && (
|
||||
{allowedTargets.includes('wsl') && isBeta() && (
|
||||
<Checkbox
|
||||
label="WSL - Windows Subsystem for Linux (.tar.gz)"
|
||||
isChecked={environment['wsl']}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue