Wizard: Fix "None" options in Selects for policies and Oscap profiles
This commit is contained in:
parent
50d88e5949
commit
0cfe3dde30
2 changed files with 2 additions and 2 deletions
|
|
@ -287,7 +287,7 @@ const PolicySelector = () => {
|
||||||
} as React.CSSProperties
|
} as React.CSSProperties
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{policyTitle || 'Select a policy'}
|
{policyID === undefined ? 'None' : policyTitle || 'Select a policy'}
|
||||||
</MenuToggle>
|
</MenuToggle>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -329,7 +329,7 @@ const ProfileSelector = () => {
|
||||||
>
|
>
|
||||||
<TextInputGroup isPlain>
|
<TextInputGroup isPlain>
|
||||||
<TextInputGroupMain
|
<TextInputGroupMain
|
||||||
value={profileID ? profileID : inputValue}
|
value={profileID ? profileID : inputValue || 'None'}
|
||||||
onClick={onInputClick}
|
onClick={onInputClick}
|
||||||
onChange={onTextInputChange}
|
onChange={onTextInputChange}
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue